From: Ulrich Drepper Date: Mon, 6 Dec 2004 22:51:31 +0000 (+0000) Subject: [BZ #601] X-Git-Tag: cvs/fedora-glibc-20041207T1331~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bbd0bf24e928516d47a63d0076d9abafb8ce6e95;p=thirdparty%2Fglibc.git [BZ #601] Update. 2004-12-06 Jakub Jelinek * time/tzset.c (tzset_internal): If + or - is seen, but no offset after it, reset offset to 0. [BZ #601] * libio/ioseekpos.c (_IO_seekpos_unlocked): Call _IO_SEEKOFF not --- diff --git a/ChangeLog b/ChangeLog index 2c915f93c80..11ce0635ee3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,11 @@ +2004-12-06 Jakub Jelinek + + * time/tzset.c (tzset_internal): If + or - is seen, + but no offset after it, reset offset to 0. [BZ #601] + 2004-12-06 Ulrich Drepper - * libio/ioseekpos.c (_IO_seekpos_unlocked): Call _IO_SEEKOF not + * libio/ioseekpos.c (_IO_seekpos_unlocked): Call _IO_SEEKOFF not _IO_SEEKPOS, saving one indirect jump. * libio/fileops.c (_IO_new_file_seekoff): Fix optimization of in-buffer diff --git a/time/tzset.c b/time/tzset.c index 48a4e4b1404..0479abb38a4 100644 --- a/time/tzset.c +++ b/time/tzset.c @@ -240,6 +240,7 @@ tzset_internal (always, explicit) switch (sscanf (tz, "%hu:%hu:%hu", &hh, &mm, &ss)) { default: + tz_rules[0].offset = 0; goto out; case 1: mm = 0;