Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: bbb102646e4a173ad324c994261a605d8475b061
Ticket: 1237907fffffffffffffffffffffffffffffffff
Windows crash in clock
User & Date: patthoyts on 2005-07-14 07:47:17
Changes

  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"