This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug stdio/14292] fmemopen_seek() incorrectly inverses seek offset when using SEEK_END


http://sourceware.org/bugzilla/show_bug.cgi?id=14292

--- Comment #7 from paxdiablo <allachan at au1 dot ibm.com> ---
FWIW, this bug has been there since about 2001. glibc-2.1.3 from Feb-2000 had
the old implementation in stdio which didn't support fseek at all.

In Jan-2001, glibc-2.2.1 incorporated the new code into libio and it already
had that bug.

I can only assume that the fact no-one noticed for over a decade is because
no-one has ever used it :-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]