[PATCH][BZ #12685] Allow arbitrary number of modes in fopen.
Joseph S. Myers
joseph@codesourcery.com
Thu May 9 15:34:00 GMT 2013
On Thu, 9 May 2013, Ondrej Bilka wrote:
> Hi,
>
> I implemented Michael Kerrisk's suggestion from
> http://sourceware.org/bugzilla/show_bug.cgi?id=12685
> to read mode until NULL or comma (for ,ccs=) is reached.
>
> OK to commit?
>
> Ondra
>
> * libio/fileops.c (_IO_new_file_fopen): Allow arbitrary number of modes.
> * libio/iofdopen.c (_IO_new_fdopen): Likewise.
I think this should add testcases (for both functions) that a mode late in
a long string is properly handled.
--
Joseph S. Myers
joseph@codesourcery.com
More information about the Libc-alpha
mailing list