Skip to content

Commit

Permalink
[BZ #601]
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Ulrich Drepper committed Dec 6, 2004
1 parent 77d16e2 commit bbd0bf2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ChangeLog
Original file line number Diff line number Diff line change
@@ -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
Expand Down
1 change: 1 addition & 0 deletions time/tzset.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bbd0bf2

Please sign in to comment.