2005-01-05 Ulrich Drepper <drepper@redhat.com>
commitc4b12c0603e75393c27eef4c61aa1d94356d47b6
authorRoland McGrath <roland@gnu.org>
Wed, 16 Feb 2005 09:45:11 +0000 (16 09:45 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 16 Feb 2005 09:45:11 +0000 (16 09:45 +0000)
tree2b0e2b29e9e962fbc332561dc0283b322c785b74
parent39bd639312860efe7163b00c14169fd54920508c
2005-01-05  Ulrich Drepper  <drepper@redhat.com>

[BZ #730]
* libio/iofopncook.c (_IO_cookie_seekoff): Define.  Mark offset as
invalid to disable optimizations in fileops which won't work here.
(_IO_cookie_jumps): Use it.
(_IO_old_cookie_jumps): Likewise.
* libio/fmemopen.c (fmemopen_seek): Result must be returned in *P,
not the return value.
* stdio-common/Makefile (tests): Add tst-fmemopen2.
* stdio-common/tst-fmemopen2.c: New file.
libio/fmemopen.c
stdio-common/Makefile