Overview
| Artifact ID: | 33ad84c75eaebc8c3af241fe74159285e867fec0 |
|---|---|
| Ticket: | 589526ffffffffffffffffffffffffffffffffff
missing stubs for tclUnixThrd.c procs |
| User & Date: | das on 2002-08-01 08:03:25 |
Changes
- assignee changed to: "hobbs"
- cmimetype changed to: "text/plain"
- comment changed 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 changed to: "obsolete: 8.4b1"
- priority changed to: "8"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "das"
- subsystem changed to: "49. Threading"
- title changed to: "missing stubs for tclUnixThrd.c procs"
- type changed to: "Bug"