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


------- Additional Comments From ldv at altlinux dot org  2010-01-24 21:49 -------
(In reply to comment #0)
> [However, since it doesn't make sense to have an output stream
> with an empty buffer, it seems reasonable to continue to return
> NULL for the "w"rite case.]

It might have a sense, too: every write would fail with ENOSPC, like every write
to /dev/full does.


-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=11216

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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