diff options
author | Ulrich Drepper <drepper@redhat.com> | 2004-12-06 22:51:31 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2004-12-06 22:51:31 +0000 |
commit | bbd0bf24e928516d47a63d0076d9abafb8ce6e95 (patch) | |
tree | cb1193324975bb5a57ce7922038485754453cb02 /time/tzset.c | |
parent | 77d16e2672f3998c4042f425c7c0f743fdf070b8 (diff) | |
download | glibc-bbd0bf24e928516d47a63d0076d9abafb8ce6e95.zip glibc-bbd0bf24e928516d47a63d0076d9abafb8ce6e95.tar.gz glibc-bbd0bf24e928516d47a63d0076d9abafb8ce6e95.tar.bz2 |
[BZ #601]
Update.
2004-12-06 Jakub Jelinek <jakub@redhat.com>
* 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
Diffstat (limited to 'time/tzset.c')
-rw-r--r-- | time/tzset.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/time/tzset.c b/time/tzset.c index 48a4e4b..0479abb 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; |