This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Implement tmpfile with O_TMPFILE (bug 21530)


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."


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]