Subject: Re: Tcl7.5 and NetBSD-current
To: Aaron Brown <abrown@eecs.harvard.edu>
From: Ken Hornstein <kenh@cmf.nrl.navy.mil>
List: current-users
Date: 02/26/1996 00:02:57
>I just tried to compile Tcl7.5b1 under NetBSD-current (24Feb SUP) (sparc)
>and although it compiled fine, it failed many of the file and I/O
>regression tests. From what I can tell, anything dealing with file size
>came out to be zero. This sounds like a problem with 64-bit file
>offsets...has anyone seen it or solved it before? I tried reading some of
>the tcl code, but I know so little about tcl that I wasn't successful in
>tracking it down...
I saw in the release notes for Tcl7.5b2 that this problem was fixed for
64-bit file offsets (NetBSD was mentioned specifically). Unfortunately,
it looks like it was fixed by casting the file offset to an int, which
means you can't use Tcl on files larger than 2GB.
--Ken