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 stdio/11216] fmemopen returns NULL when len=0


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.


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