]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
New function ltime() returns a struct tm of the current local time.
authorOwen Dunn <owen@greenend.org.uk>
Sun, 9 Jan 2005 14:27:48 +0000 (14:27 +0000)
committerOwen Dunn <owen@greenend.org.uk>
Sun, 9 Jan 2005 14:27:48 +0000 (14:27 +0000)
commit06434ffc713ff60f7631b48e0b1463fcfc92684b
treef76b2e4877322e74585c6cc5f4348ba83f6120c5
parent36694012169a241db6bceb68d7e0365c6816b9d9
New function ltime() returns a struct tm of the current local time.
Fixes crashes when time() returns (time_t)-1 on Windows by using the
Win32 GetLocalTime() function.  (The Unix implementation still just
uses time() and localtime().)

[originally from svn r5086]
Recipe
cmdgen.c
logging.c
misc.h
time.c [new file with mode: 0644]
unix/gtkdlg.c
windows/windlg.c
windows/winpgen.c
windows/wintime.c [new file with mode: 0644]