diff options
author | Just van Rossum <just@letterror.com> | 2003-04-08 20:07:15 (GMT) |
---|---|---|
committer | Just van Rossum <just@letterror.com> | 2003-04-08 20:07:15 (GMT) |
commit | 547eb42d75c888fa5ac43275d3cf874099ea0d78 (patch) | |
tree | 2f5d0a17730875b8727913bf0de8407ab14fab1c /Modules | |
parent | f2f174f6558cb0e779c0389983e285b7cf1b5516 (diff) | |
download | cpython-547eb42d75c888fa5ac43275d3cf874099ea0d78.zip cpython-547eb42d75c888fa5ac43275d3cf874099ea0d78.tar.gz cpython-547eb42d75c888fa5ac43275d3cf874099ea0d78.tar.bz2 |
tentative fix for #712322: modification time stamp checking failed
when DST began.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/zipimport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/zipimport.c b/Modules/zipimport.c index 94eeabd..9f7da72 100644 --- a/Modules/zipimport.c +++ b/Modules/zipimport.c @@ -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); } |