[Top][All Lists]
[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
0001-Tell-mkstemp-users-to-consider-using-the-clean-temp-.patch
Description: Binary data
- mkstemp, Reuben Thomas, 2011/04/26
- Re: mkstemp, Bruno Haible, 2011/04/26
- Re: mkstemp, Reuben Thomas, 2011/04/27
- Re: mkstemp, Eric Blake, 2011/04/27
- Re: mkstemp,
Reuben Thomas <=
- Re: mkstemp, Eric Blake, 2011/04/27
- Re: mkstemp, Reuben Thomas, 2011/04/27
- Re: mkstemp, Bruno Haible, 2011/04/27
- Re: mkstemp, Eric Blake, 2011/04/27
- Re: mkstemp, Bruno Haible, 2011/04/27
- Re: mkstemp, Reuben Thomas, 2011/04/27
- Re: mkstemp, Eric Blake, 2011/04/27
- [PATCH] mkstemp: replace if system version uses wrong permissions, Eric Blake, 2011/04/27
- Re: [PATCH] mkstemp: replace if system version uses wrong permissions, Reuben Thomas, 2011/04/27
- Re: [PATCH] mkstemp: replace if system version uses wrong permissions, Eric Blake, 2011/04/27