From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <18e201c30fb8$f16d0a00$eb4a800a@will5510> From: "will551" To: <9fans@cse.psu.edu> References: <02247be5cd632c939bbe3773ce22b821@snellwilcox.com> Subject: [9fans] tclport - stat problems - fix MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Date: Thu, 1 May 2003 09:09:09 +0100 Topicbox-Message-UUID: 9cbdccaa-eacb-11e9-9e20-41e7f4b1d025 hi got that problem with stat fixed around midnight last night! turned out that the default compile for Tcl was setting some types to different types e.g. size_t to int. Some of these types were used in the stat structure which of course was already compiled with the original sizes. I am running the Tcl test procedures at the moment so will hopefully have a build early next week. l8r will551 > I am have a problem with the function stat. > When I ask for the file size of a file with the tcl "file" command I get > a huge number that doesnt seem to relate to the file size at all: > % file size blah.file > 512341234556