diff options
author | Manuel Novoa III <mjn3@codepoet.org> | 2005-07-25 03:50:55 +0000 |
---|---|---|
committer | Manuel Novoa III <mjn3@codepoet.org> | 2005-07-25 03:50:55 +0000 |
commit | ae51419546a4a8c98d9379d4d9cd6b25c79f2df4 (patch) | |
tree | fa1d69ff67c14811753d59300ce329fb4188666b /libc/misc/time/adjtime.c | |
parent | 47167cdc5d0ef7fbbb1a0c65934e0fa8acb89833 (diff) |
Fix 2 bugs in strftime related to glibc struct tm extensions.
1) Need to negate tm_gmtoff field value when used. (bug 336).
2) Deal with NULL ptr case for tm_zone field, which was causing
segfaults in both the NIST/PCTS tests and the Python 2.4.1
self-test suite.
NOTE: We set uninitialized timezone names to "???", and this
differs (intentionally) from glibc's behavior.
Diffstat (limited to 'libc/misc/time/adjtime.c')
0 files changed, 0 insertions, 0 deletions