On 27 April 2011 14:00, Eric Blake <ebl...@redhat.com> 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