rename() is sometimes unsafe on remote drives.
Chris Faylor
cgf@cygnus.com
Mon Apr 17 21:26:00 GMT 2000
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
More information about the Cygwin-developers
mailing list