Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c07f4ec90d000eaef47772b696277ff7a8b80059
Ticket: 1995175fffffffffffffffffffffffffffffffff
clock scan problems on windows
User & Date: cnassau on 2008-06-16 14:04:21
Changes

  1. assignee changed to: "kennykb"
  2. cmimetype changed to: "text/plain"
  3. comment changed to:
    clock scan seems to have an issue with dates before 02 Jan 1970 on Windows XP:
    
      % clock scan "02 Jan 1970"
      82800
      % clock scan "01 Jan 1970"
      time value too large/small to represent
    
    Setting an explicit timezone avoids the problem (i.e. [clock scan "01 Jan 1970" -timezone :GMT] works). 
    
    Google knows about a lot of "mktime fails with negative values" complains which might be related.
    
    Also, while investigating this issue, I tried
    
       tcl::clock::ConvertLocalToUTC {stuff that's not important} {} 12345
    
    This gives a segfault (both on Windows and Solaris)
    
    
    
  4. foundin changed to: "obsolete: 8.5.2"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "cnassau"
  10. subsystem changed to: "06. Time Measurement"
  11. title changed to: "clock scan problems on windows"
  12. type changed to: "Bug"