[PATCH] manual: fopen with the x flag does not follow ISO C11
Paul Eggert
eggert@cs.ucla.edu
Tue Dec 10 22:26:00 GMT 2019
On 12/10/19 4:18 AM, Florian Weimer wrote:
> I think it is worth clarifying that glibc's x specifier only results in
> O_EXCL and nothing else.
Although the glibc manual already says "x" means O_EXCL, I agree it'd be
nice for it to also say that this behavior is compatible with ISO C.
That is, the manual shouldn't imply that some standards require behavior
other than O_EXCL.
How about the attached patch?
A different topic: shouldn't the manual refer to ISO C18 (the current
version of the C standard) rather than to ISO C11 (the previous one)?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-manual-clarify-fopen-with-the-x-flag.patch
Type: text/x-patch
Size: 1062 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20191210/87c93f34/attachment.bin>
More information about the Libc-alpha
mailing list