[PATCH] Fix mmap stdio fseek SEEK_END bug
Ulrich Drepper
drepper@redhat.com
Thu Feb 21 21:11:00 GMT 2002
Jakub Jelinek <jakub@redhat.com> writes:
> Immediately after fopen, _IO_read_end == _IO_read_base == _IO_buf_base.
> So, fseek* (..., SEEK_END) was acting like SEEK_SET, not SEEK_END.
I've applied the patch. Thanks,
--
---------------. ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Red Hat `--' drepper at redhat.com `------------------------
More information about the Libc-hacker
mailing list