]> git.ipfire.org Git - thirdparty/glibc.git/commit - libio/bug-ungetc3.c
Update.
authorUlrich Drepper <drepper@redhat.com>
Tue, 9 Nov 2004 07:05:27 +0000 (07:05 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 9 Nov 2004 07:05:27 +0000 (07:05 +0000)
commit51cd2fbfb800b3acdcd1d8bd61899f8d324ffe79
tree8206ab4f059492b721f9792667899be891f3e1ec
parenteca29725d15f200f3eb8b106bb7bac3fb687fa74
Update.

2004-11-04  Jakub Jelinek  <jakub@redhat.com>

* libio/fileops.c (_IO_new_file_seekoff): If mode is 0 and
fp->_offset == _IO_pos_BAD, just call _IO_SYSSEEK (fp, 0, dir)
and if successful set fp->_offset.
* libio/Makefile (tests): Add bug-ungetc3.
* libio/bug-ungetc3.c: New test.
ChangeLog
libio/Makefile
libio/bug-ungetc3.c [new file with mode: 0644]