Overview
| Artifact ID: | d5c249d9fb8d814dfdb4eacae33eaebc7f1b937b |
|---|---|
| Ticket: | 2233954fffffffffffffffffffffffffffffffff
AIX: compile error |
| User & Date: | nijtmans on 2012-02-17 06:15:19 |
Changes
- icomment:
Cannot reproduce this, but I can imagine that on some platforms <sys/stat.h> might contain something like (depending on some compiler flags) #define stat stat64 That will result in "struct stat" to mean something different before and after the #include <sys/stat.h>, which explains this problem. Since tclIOUtil has the Tcl_Stat() function implementation pairing with the declaration in tclDecls.h, this is the only file affected by this problem. The suggested solution is therefore harmless. Committed to core-8-5-branch and trunk
- login: "nijtmans"
- mimetype: "text/plain"
- username: "nijtmans"