Overview
| Artifact ID: | 1a2ec92d02d5c3432d84bcbb60f9de185a15af75 |
|---|---|
| Ticket: | 3288345fffffffffffffffffffffffffffffffff
Wrong Tcl_StatBuf used on MinGW |
| User & Date: | andygoth on 2011-04-17 02:45:09 |
Changes
- assignee changed to: "vincentdarley"
- cmimetype changed to: "text/plain"
- comment changed to:
On MinGW, tcl.h typedefs Tcl_StatBuf to be struct stat, which contains a 32-bit st_size. A 64-bit st_size is assumed by tclWinFile.c. This results in incorrect [file size], etc., for 2+ gigabyte files. struct _stati64 should be used instead. I made this change in my local Tcl source tree and recompiled, and [file size] now works correctly. See /mingw/include/sys/stat.h for the family of stat structs and the circumstances under which each is available. This is on a 32-bit Windows XP machine.
- foundin changed to: "obsolete: 8.6b1.1"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "andygoth"
- subsystem changed to: "37. File System"
- title changed to: "Wrong Tcl_StatBuf used on MinGW"
- type changed to: "Bug"