in reply to •Re: Re: •Re: Update in-place with temporary file and flocking
in thread Update in-place with temporary file and flocking
See my update, is it always ok, or just on UNIX style systems where the filehandle actually points at the file descriptor, rather than just refering to the file by name. Obviously if it's just referring by name then a rename breaks things, and the another instance of the script can't know that the file is actually locked, can it?