|
2002-08-06
| ||
| 08:50 | • Closed ticket [589526ffff]: missing stubs for tclUnixThrd.c procs plus 7 oth... artifact: e3091dff0a user: das | |
| 08:50 | • Add attachment threadstubs2.patch to ticket [589526ffffffffff|589526fff... artifact: 596b3f235d user: das | |
|
2002-08-05
| ||
| 05:14 | • Ticket [589526ffff] missing stubs for tclUnixThrd.c procs status still Open ... artifact: cebaccc5b1 user: hobbs | |
|
2002-08-02
| ||
| 13:12 | • Ticket [589526ffff]: 4 changes artifact: ab3631dfc6 user: das | |
|
2002-08-01
| ||
| 15:03 | • Ticket [589526ffff]: 4 changes artifact: 9983ee24e9 user: das | |
| 08:03 | • New ticket [589526ffff]. artifact: 33ad84c75e user: das | |
missing stubs for tclUnixThrd.c procs
Closed / Fixed589526ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2002-08-01 08:03:25
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.
dasplain2002-08-01 15:03:26
File Added - 28182: threadstubs.patch
dasplain2002-08-02 13:12:26
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.
hobbsplain2002-08-05 05:14:33
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.
dasplain2002-08-06 08:50:25
File Deleted - 28235: File Added - 28483: threadstubs2.patch Logged In: YES user_id=90580 reuploaded the patch for future reference and checked it in.
Log in (anonymous is fine) to add a comment.
Attachments:
- threadstubs2.patch [download] added by das on 2002-08-06 08:50:25. [details]