Artifacts Associated With Ticket 589526ffffffffffffffffffffffffffffffffff
Ticket change [33ad84c75e] (rid 106639) by das on 2002-08-01 08:03:25:
- assignee initialized to: "hobbs"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Any stubbed & threaded extension that includes tclUnixPort.h and uses any of the procs readdir, localtime, gmtime or inet_ntoa will fail with link errors on Unix with the current Tcl HEAD. (ex: current threaded TclX 8.4 HEAD fails to link) This is due to the following defines in tclUnixPort.h: #define readdir(x)TclpReaddir(x) #define localtime(x)TclpLocaltime(x) #define gmtime(x)TclpGmtime(x) #define inet_ntoa(x)TclpInetNtoa(x) and the fact that those four Tclp* procs are not exported in stubs. either these four defines need to be restricted to be internal to Tcl or the four Tclp* procs need to be added to tclInt.decls as in the attached patch. both threaded and non-threaded Tcl as well as associated threaded & non-threaded TclX 8.4 build fine with the patch. This should go into b2 if possible as it potentially breaks any threaded stubbed extension. - foundin initialized to: "obsolete: 8.4b1"
- priority initialized to: "8"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "das"
- subsystem initialized to: "49. Threading"
- title initialized to: "missing stubs for tclUnixThrd.c procs"
- type initialized to: "Bug"
Ticket change [9983ee24e9] (rid 110809) by das on 2002-08-01 15:03:26:
- icomment:
File Added - 28182: threadstubs.patch
- login: "das"
- mimetype: "text/plain"
- username: "das"
- icomment:
Ticket change [ab3631dfc6] (rid 101062) by das on 2002-08-02 13:12:26:
- icomment:
File Deleted - 28182: File Added - 28235: threadstubs1.patch Logged In: YES user_id=90580 attached improved patch that - in a non-threaded build - calls through to e.g. gmtime from TclpGmtime instead of returning NULL.
- login: "das"
- mimetype: "text/plain"
- username: "das"
- icomment:
Ticket change [cebaccc5b1] (rid 96100) by hobbs on 2002-08-05 05:14:33:
- assignee changed to: "das"
- icomment:
Logged In: YES user_id=72656 Please reupload this patch - it got truncated. Or better yet, it looked good for the parts that were there, so just apply it.
- login: "hobbs"
- mimetype: "text/plain"
- priority changed to: "9 Immediate"
- username: "hobbs"
Ticket change [e3091dff0a] (rid 87721) by das on 2002-08-06 08:50:25:
- closedate changed to: "2002-08-06T01:50:25"
- closer changed to: "das"
- icomment:
File Deleted - 28235: File Added - 28483: threadstubs2.patch Logged In: YES user_id=90580 reuploaded the patch for future reference and checked it in.
- login: "das"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- username: "das"
Add attachment "threadstubs2.patch" [596b3f235d] (rid 117976) by das on 2002-08-06 08:50:25.