[Bug libc/12527] Off by one bug with ftell() with fmemopen()

drepper.fsp at gmail dot com sourceware-bugzilla@sourceware.org
Sun Mar 6 04:13:00 GMT 2011


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.



More information about the Glibc-bugs mailing list