]> granicus.if.org Git - python/commitdiff
tentative fix for #712322: modification time stamp checking failed
authorJust van Rossum <just@letterror.com>
Tue, 8 Apr 2003 20:07:15 +0000 (20:07 +0000)
committerJust van Rossum <just@letterror.com>
Tue, 8 Apr 2003 20:07:15 +0000 (20:07 +0000)
when DST began.

Modules/zipimport.c

index 94eeabd61d424cbc7962691a7312a0d4fc5a13d1..9f7da72d31cc91392c16930bc9de773a007e1d3c 100644 (file)
@@ -993,7 +993,7 @@ parse_dostime(int dostime, int dosdate)
        stm.tm_mday  =   dosdate        & 0x1f;
        stm.tm_mon   = ((dosdate >> 5)  & 0x0f) - 1;
        stm.tm_year  = ((dosdate >> 9)  & 0x7f) + 80;
-       stm.tm_isdst =   0; /* wday/yday is ignored */
+       stm.tm_isdst =   -1; /* wday/yday is ignored */
 
        return mktime(&stm);
 }