Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 895208ffb2f8cdde3521dc6e5f3e856d40803f0d
Ticket: 597728ffffffffffffffffffffffffffffffffff
mt-unsafe tzset() gets called improperly
User & Date: vasiljevic on 2002-08-20 12:09:43
Changes

  1. assignee changed to: "hobbs"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    Sun Solaris (2.5.1+) build gets configured 
    with undefined HAVE_TZSET *and* undefined
    HAVE_TM_ZONE. 
    This leads to multiple threads calling the
    MT-unsafe tzset() function in tclClock.c
    which brings MT-enabled Tcl shell to core.
    
    This happens for at least Tcl8.3.4 
    (and maybe lower) and for Tcl8.4a4
    and (probably) others as well.
    
    The wording from FormatClock() function
    in tclClock.c:272 says:
    
        /*
         * Some systems forgot to call tzset in localtime, make 
    sure its done.
         */
    
    So I think, the Sun Solaris should also
    be included in this list. This should
    be changed in the tcl.m4 which already
    covers this case for ULTRIX-4-* and 
    OSF1-V* systems.
    
    
  4. foundin changed to: "obsolete: 8.3.4"
  5. priority changed to: "7 High"
  6. resolution changed to: "None"
  7. status changed to: "Open"
  8. submitter changed to: "vasiljevic"
  9. subsystem changed to: "53. Configuration and Build Tools"
  10. title changed to: "mt-unsafe tzset() gets called improperly"
  11. type changed to: "Bug"