This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug stdio/14292] fmemopen_seek() incorrectly inverses seek offset when using SEEK_END
- From: "allachan at au1 dot ibm.com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 30 Jan 2014 08:09:18 +0000
- Subject: [Bug stdio/14292] fmemopen_seek() incorrectly inverses seek offset when using SEEK_END
- Auto-submitted: auto-generated
- References: <bug-14292-131 at http dot sourceware dot org/bugzilla/>
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.