This is the mail archive of the
cygwin-developers@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: rename() is sometimes unsafe on remote drives.
On Tue, Apr 18, 2000 at 11:49:19AM +0900, Kazuhiro Fujieda wrote:
>>>> On Mon, 17 Apr 2000 20:50:14 -0400
>>>> Chris Faylor <cgf@cygnus.com> said:
>
>> If, for some reason, the MoveFile of an existing
>> file fails, the target file will be gone. rename on UNIX doesn't work
>> this way.
>
>I have never been experienced this case. I tried to create the
>case so MoveFile fails and removes the target file, but could
>not. Can someone present an example of the case to me?
I believe that it's been reported on the mailing list from time to time
but maybe your patch was all that was required to fix that.
cgf