This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/6544] fseek(..., 0, SEEK_END) doesn't work as it should on fmemopen's FILE
- From: "ebb9 at byu dot net" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: 14 Aug 2008 16:53:49 -0000
- Subject: [Bug libc/6544] fseek(..., 0, SEEK_END) doesn't work as it should on fmemopen's FILE
- References: <20080522062629.6544.witekfl@poczta.onet.pl>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From ebb9 at byu dot net 2008-08-14 16:53 -------
POSIX 200x is standardizing fmemopen with semantics that match neither the
original implementation, nor your new binary mode (in particular, the POSIX
wording states concerning the mode argument "The character 'b' shall have no
effect"). I also raised some questions as to whether glibc's fmemopen is buggy
in relation to other stream behavior:
https://www.opengroup.org/sophocles/show_mail.tpl?CALLER=show_archive.tpl&source=L&listname=austin-group-l&id=10782
--
http://sourceware.org/bugzilla/show_bug.cgi?id=6544
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.