Skip to content
Tcl Source Code History Of Ticket 1237907fffffffff
Login

History Of Ticket 1237907fffffffff

Artifacts Associated With Ticket 1237907fffffffff

  1. Ticket change [9c39c27b7b] (rid 111249) by patthoyts on 2005-07-14 00:24:40:

    1. assignee initialized to: "kennykb"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      [tcl::clock::Localtime -1] will crash tcl on Windows.
      The error seems to be in ThreadSafeLocalTime() as far
      as I can see. Systems with HAVE_LOCALTIME_R seem to be
      fine. Solaris 10 and Linux do not crash.
      
    4. foundin initialized to: "obsolete: 8.5a4"
    5. priority initialized to: "8"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "patthoyts"
    9. subsystem initialized to: "06. Time Measurement"
    10. title initialized to: "Windows crash in clock"
    11. type initialized to: "Bug"
  2. Add attachment "clock.patch" [407d0694a5] (rid 121634) by patthoyts on 2005-07-14 07:47:17.

  3. Ticket change [bbb102646e] (rid 129530) by patthoyts on 2005-07-14 07:47:17:

    1. icomment:
      
      
      File Added - 141994: clock.patch
      
      Logged In: YES 
      user_id=202636
      
      Windows localtime() can return NULL if the provided time is
      < unix epoch.
      (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_CRT_localtime.asp)
      
      Attached one possible patch. We noticed that Solaris returns
      times in 1970 for -1 and -2 but seems to count downwards.
      Linux uses 1969.
      
      
    2. login: "patthoyts"
    3. mimetype: "text/plain"
    4. username: "patthoyts"
  4. Ticket change [cf2a60f991] (rid 112922) by kennykb on 2005-07-16 05:33:22:

    1. closedate changed to: "2005-07-15T22:33:22"
    2. closer changed to: "kennykb"
    3. icomment:
      Logged In: YES 
      user_id=99768
      
      Right you are.  Also, we shouldn't have been in 'localtime' even
      in that case; Windows has provided us with tz conversion
      information,
      but we discarded it in favor of a tzdata file - that we
      subsequently
      discovered was missing.  My changes fix that too.
      
      
      
    4. login: "kennykb"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. username: "kennykb"