New function ltime() returns a struct tm of the current local time.
authorowen <owen@cda61777-01e9-0310-a592-d414129be87e>
Sun, 9 Jan 2005 14:27:48 +0000 (14:27 +0000)
committerowen <owen@cda61777-01e9-0310-a592-d414129be87e>
Sun, 9 Jan 2005 14:27:48 +0000 (14:27 +0000)
commitaca589d972c5c12706d57322e89f9dec2b2a3a00
treef76b2e4877322e74585c6cc5f4348ba83f6120c5
parent72b364a8a94e6c1f60c43aaef2f7c187b44f7d56
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().)

git-svn-id: svn://svn.tartarus.org/sgt/putty@5086 cda61777-01e9-0310-a592-d414129be87e
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]