summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJust van Rossum <just@letterror.com>2003-04-08 20:07:15 (GMT)
committerJust van Rossum <just@letterror.com>2003-04-08 20:07:15 (GMT)
commit547eb42d75c888fa5ac43275d3cf874099ea0d78 (patch)
tree2f5d0a17730875b8727913bf0de8407ab14fab1c
parentf2f174f6558cb0e779c0389983e285b7cf1b5516 (diff)
downloadcpython-547eb42d75c888fa5ac43275d3cf874099ea0d78.zip
cpython-547eb42d75c888fa5ac43275d3cf874099ea0d78.tar.gz
cpython-547eb42d75c888fa5ac43275d3cf874099ea0d78.tar.bz2
tentative fix for #712322: modification time stamp checking failed
when DST began.
-rw-r--r--Modules/zipimport.c2
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);
}