[PATCH] Implement tmpfile with O_TMPFILE (bug 21530)
Andreas Schwab
schwab@suse.de
Mon Jun 26 15:19:00 GMT 2017
On Jun 26 2017, Adhemerval Zanella <adhemerval.zanella@linaro.org> wrote:
> On 26/06/2017 08:47, Andreas Schwab wrote:
>> If the kernel or the file system does not support O_TMPFILE fall back to
>> creating a temporary file based on tmpnam.
>>
>> [BZ #21530]
>> * stdio-common/tmpfile.c (tmpfile) [O_TMPFILE]: Try opening an
>> unnamed file first.
>> ---
>> stdio-common/tmpfile.c | 51 ++++++++++++++++++++++++++++++++++++--------------
>> 1 file changed, 37 insertions(+), 14 deletions(-)
>
> I would prefer to compartmentalize Linuxism to linux sysdep folder, something
> like:
Perhaps it will be adopted by POSIX?
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."
More information about the Libc-alpha
mailing list