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 libc/12527] Off by one bug with ftell() with fmemopen()


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.


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