X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fruntime%2Ftime.c;h=82ffab2c528e20b0d2a8e608413b606de695ce23;hb=c2ac5ba3964165ee2d21ccd4c6bf8bdc48e1a165;hp=59a6fff118ad33e31f6841e899cecf2b5ad3811e;hpb=6584a2c88efaa6931083721adae2f9f10e0fefd5;p=sbcl.git diff --git a/src/runtime/time.c b/src/runtime/time.c index 59a6fff..82ffab2 100644 --- a/src/runtime/time.c +++ b/src/runtime/time.c @@ -32,7 +32,7 @@ void get_timezone(time_t when, int *secwest, boolean *dst) * The Windows versions also don't support times before the * epoch, so we kludge it. */ if (when < 0) - when = -when; + when = 0; ltm = *localtime(&when); gtm = *gmtime(&when); #else