This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug stdio/11216] fmemopen returns NULL when len=0
- From: "eblake at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Thu, 13 Mar 2014 16:37:52 +0000
- Subject: [Bug stdio/11216] fmemopen returns NULL when len=0
- Auto-submitted: auto-generated
- References: <bug-11216-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=11216
--- Comment #11 from Eric Blake <eblake at redhat dot com> ---
(In reply to Eric Blake from comment #10)
> Hooray! POSIX relaxed their spec today.
http://austingroupbugs.net/view.php?id=818#c2184
"
Delete line 29196.
Add a new paragraph after 29200:
[EINVAL] The size argument specifies a buffer size of zero and the
implementation does not support this.
Add to Future Directions after line 29235
A future revision of this standard may require support of zero length buffer
streams explicitly.
"
Basically, the shall fail was relaxed to a mail fail, with the intent of
removing the failure altogether and instead requiring successful use of a
0-length memstream, back to the original glibc behavior.
--
You are receiving this mail because:
You are on the CC list for the bug.