[PATCH] [BZ #12836] Make fmemopen(buf,size,"w+b") binary.

Joseph S. Myers joseph@codesourcery.com
Thu May 9 16:37:00 GMT 2013


On Thu, 9 May 2013, Ondrej Bilka wrote:

> Posting Eric Blake patch from
> http://sourceware.org/bugzilla/show_bug.cgi?id=12836
> 
> OK to commit?
> 
> 	* libio/fmemopen.c (fmemopen) Make mode "w+b" binary.

As usual, if the bug was user-visible in some way readily testable in the 
testsuite (as opposed to needing out-of-memory conditions, difficult to 
generate races among large numbers of threads, ...), the patch should add 
a testcase for it.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Libc-alpha mailing list