Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 80ab65be9f83afe17a3e3dd20944dcf489533a5d
Ticket: 424119ffffffffffffffffffffffffffffffffff
reentrant time functions patch
User & Date: kennykb on 2001-06-04 22:54:36
Changes

  1. closedate changed to: "2001-06-04T15:54:36"
  2. closer changed to: "kennykb"
  3. icomment:
    Logged In: YES 
    user_id=99768
    
    The patches fix a re-entrancy problem in a different way.
    The code on the current HEAD fixes TclpGetDate by making sure that the 'struct time_t' that it returns by 
    pointer is in thread-specific data, while the submitted patch works by forcing the caller to provide a buffer.
    The way that the current HEAD does it has the advantage that it preserves the type signature of all the 
    calls, hence any extension that includes "tclInt.h" and calls TclpGetDate will continue to work.  It does 
    require one more thread-specific buffer, but this seems a small price to pay.
    
    
  4. login: "kennykb"
  5. mimetype: "text/plain"
  6. resolution changed to: "Fixed"
  7. status changed to: "Closed"
  8. username: "kennykb"