This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH] [BZ #12836] Make fmemopen(buf,size,"w+b") binary.
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: Ondrej Bilka <neleai at seznam dot cz>
- Cc: <libc-alpha at sourceware dot org>
- Date: Thu, 9 May 2013 16:37:47 +0000
- Subject: Re: [PATCH] [BZ #12836] Make fmemopen(buf,size,"w+b") binary.
- References: <20130509161648 dot GA31713 at domone dot kolej dot mff dot cuni dot cz>
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