Overview
| Artifact ID: | 9efcb44032893a2fcbe7f6b9c69c8770a9325720 |
|---|---|
| Ticket: | 3288345fffffffffffffffffffffffffffffffff
Wrong Tcl_StatBuf used on MinGW |
| User & Date: | nijtmans on 2011-04-21 17:18:43 |
Changes
- icomment:
_stati64 uses either a 32-bit time_t, either a 64-bit time_t depending on _USE_32BIT_TIME_T, while MSVC6 always uses a 32-bit time_t. So, in order to keep binary compatibility on all platforms, we should use _stat32i64 whenever this is available (VS2005+) Problem: not all mingw versions have already taken this over from VS2005, so in case encountering an old mingw version, we should provide our own version in tclWinPort.h. For VS2005+, this means a binary API change, because starting with this version the time_t type suddenly starts to be 64-bit, unless we define _USE_32BIT_TIME_T. Pat Thoyts, Any remarks?
- login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"