Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 0f480f4548e3c0fc741265056f84224793d042e3
Ticket: 597728ffffffffffffffffffffffffffffffffff
mt-unsafe tzset() gets called improperly
User & Date: vasiljevic on 2002-09-04 03:00:15
Changes

  1. icomment:
    Logged In: YES 
    user_id=95086
    
    Sorry. You are right. I think I was still sleeping      
    when I did this. Please ignore.       
          
    The whole point can be simplified as this:      
    For platforms having *both*  HAVE_TM_ZONE and     
     HAVE_TZSET *not* defined, the code enters the     
    tzset()function unprotected. This results in subtle and     
    difficult to find bugs which again result in core.    
    It is pretty clear from the code that tzset will be entered   
    twice for the  !defined(HAVE_TM_ZONE) && !defined(WIN32) 
    platforms, with Sun Solaris being one of them. 
     
    It is pretty late here and I have no 8.4 patch ready. 
    I did the change in my 8.3.4 copy and did not  
    correctly moved it to 8.4 in the file I've posted. 
    If you can wait until tomorrow I will prepare new one, 
    otherwise you can just lock this part yourself. It is 
    really trivial. 
     
     
    
    
  2. login: "vasiljevic"
  3. mimetype: "text/plain"
  4. username: "vasiljevic"