This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/12527] Off by one bug with ftell() with fmemopen()
- From: "drepper.fsp at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Sun, 6 Mar 2011 04:13:46 +0000
- Subject: [Bug libc/12527] Off by one bug with ftell() with fmemopen()
- Auto-submitted: auto-generated
- References: <bug-12527-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=12527
Ulrich Drepper <drepper.fsp at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|REOPENED |SUSPENDED
--- Comment #5 from Ulrich Drepper <drepper.fsp at gmail dot com> 2011-03-06 04:13:36 UTC ---
(In reply to comment #4)
> So either the documentation or the code is in error here.
If you want to see the documentation changed send a patch. The code is what
determines the semantics. That text is for a different implementation. Your
program is just plain wrong and if you add the fseek in the appropriate place
everything works find.
Suspended until a doc patch is received.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.