On Mon, May 16, 2005 at 11:00:39PM +0200, Djoum? SALVETTI wrote: > On Mon, May 16, 2005 at 08:57:10PM +0200, Jeroen van Wolffelaar wrote: > > > Djoume's patch is no good since it still leaves open a race between > > > checking whether the file exists and writing to it. > > Of course you are right. I have made another patch, I hope this one > is ok.
No, I'm sorry, the best way is to use mktemp and move it over with 'mv', for example. Nevermind, I'm going to prepare an upload now. Thanks for your efforts anyway! --Jeroen -- Jeroen van Wolffelaar [EMAIL PROTECTED] (also for Jabber & MSN; ICQ: 33944357) http://Jeroen.A-Eskwadraat.nl -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]