* 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?
Passing around a descriptor seems to require quite a few changes,
more than just the immediate caller.


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

Reply via email to