* Frank Lichtenheld:

> On Sat, Sep 03, 2005 at 11:53:52PM +0200, Florian Weimer wrote:
>> * Frank Lichtenheld:
>> 
>> > I mean, after closing fd _and_ unlinking the temporary file it is
>> > completly gone and the race is open again, isn't it? Wouldn't be
>> > the right fix to return the fd from the function and not bother
>> > about the filename at all?
>> 
>> In the interest of a minimal change, it might make more sense to
>> simply leave the file around, so that it is subsequently opened again?
>
> True, but that would mean not to unlink it, wouldn't it?

Yes, this is exactly what I mean.

By the way, libconvert-uulib-perl contains a copy of the code.  I'll
check if it is affected, too.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to