Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 33ad84c75eaebc8c3af241fe74159285e867fec0
Ticket: 589526ffffffffffffffffffffffffffffffffff
missing stubs for tclUnixThrd.c procs
User & Date: das on 2002-08-01 08:03:25
Changes

  1. assignee changed to: "hobbs"
  2. cmimetype changed to: "text/plain"
  3. 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.
    
  4. foundin changed to: "obsolete: 8.4b1"
  5. priority changed to: "8"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "das"
  9. subsystem changed to: "49. Threading"
  10. title changed to: "missing stubs for tclUnixThrd.c procs"
  11. type changed to: "Bug"