On Nov 29, 2007 1:29 AM, Douglas A. Gwyn <[EMAIL PROTECTED]> wrote: > Instead of delete and later replace, how about create unique-named temp new > file then immediately rename to target name? > If rename is atomic then nothing could ever get lost.
I suspect the submitted patch (ie, don't delete the file in the first place) is similar enough. Thanks a lot Russ, for the fixes and explanation. -sqweek
