Overview
| Artifact ID: | f4d7034f32cc503e052ede92a38ff1b694db50b2 |
|---|---|
| Ticket: | 3598300fffffffffffffffffffffffffffffffff
unix: tcl.h does not include sys/stat.h |
| User & Date: | dkf on 2013-01-17 08:09:02 |
Changes
- closedate changed to: "2013-01-17T01:09:02"
- closer changed to: "dkf"
- icomment:
Problem commit identified as 8abba84224, appears to be due to swapping of order of include of tcl.h and tclUnixPort.h in tclPort.h (!!!!) which causes OSX Leopard (but not later versions) to get the wrong type of 'struct stat' used. The logic for that was gnarly (and hacked around quite a bit) but the key point is that there is a decision in tcl.h as to which stat API to use. According to comments in the code, it's not done in configure so as to allow for support for fat binaries (which have multiple architectures in the same object file). I vaguely remember Dan Steffen — or maybe Jim Ingham, as it was a long time ago — having a hand in the hacking of this, because at the time I used a totally different architecture.
- login: "dkf"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "dkf"