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
This commit is contained in:
Ulrich Drepper 2004-12-06 22:51:31 +00:00
parent 77d16e2672
commit bbd0bf24e9
2 changed files with 7 additions and 1 deletions

View File

@ -1,6 +1,11 @@
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]
2004-12-06 Ulrich Drepper <drepper@redhat.com>
* 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

View File

@ -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;