summaryrefslogtreecommitdiff
path: root/libc/stdio/vswprintf.c
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2005-07-25 03:50:55 +0000
committerManuel Novoa III <mjn3@codepoet.org>2005-07-25 03:50:55 +0000
commitae51419546a4a8c98d9379d4d9cd6b25c79f2df4 (patch)
treefa1d69ff67c14811753d59300ce329fb4188666b /libc/stdio/vswprintf.c
parent47167cdc5d0ef7fbbb1a0c65934e0fa8acb89833 (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/stdio/vswprintf.c')
0 files changed, 0 insertions, 0 deletions