bug-gnulib
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mkstemp


From: Reuben Thomas
Subject: Re: mkstemp
Date: Wed, 27 Apr 2011 14:32:19 +0100

On 27 April 2011 14:00, Eric Blake <address@hidden> wrote:
> On 04/27/2011 04:05 AM, Reuben Thomas wrote:
>
>> However, this suggests that the gnulib documentation for mkstemp
>> should direct the programmer to clean-temp, something like:
>>
>> "If you are creating temporary files which will later be removed, consider
>> using the clean-temp module, which avoids several pitfalls of using mkstemp
>> directly."
>
> I could also live with that in the mkstemp.c file.  Would you care to
> help write the patch?

Patch attached (just to add that comment).

-- 
http://rrt.sc3d.org

Attachment: 0001-Tell-mkstemp-users-to-consider-using-the-clean-temp-.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]