Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b65b1f3c42236366818caaa398f30ffc91861c4a
Ticket: 2796593fffffffffffffffffffffffffffffffff
clock broken when time_t tracks leapseconds
User & Date: kennykb on 2009-05-27 10:18:28
Changes

  1. icomment:
    This may be fixable in the 8.5 and 8.6 series by having the configurator check for whether libc contains the 'time2posix' and 'posix2time' calls. The time will have to be swizzled when using C library calls to convert the time rather than doing it Tcl-fashion. This includes at least mktime, gmtime_r, localtime_r, and gettimeofday. It may also include zoneinfo parsing - more research is needed into how zoneinfo is set up in this case. 
    
    Tcl is far from the only application that is broken by a non-Posix-compliant gettimeofday(). 
    
    
  2. login: "kennykb"
  3. mimetype: "text/plain"
  4. status changed to: "Open"
  5. username: "kennykb"