delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/04/17/23:26:34

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Tue, 18 Apr 2000 00:26:13 -0400
To: cygwin-developers AT sourceware DOT cygnus DOT com
Subject: Re: rename() is sometimes unsafe on remote drives.
Message-ID: <20000418002613.A5519@cygnus.com>
Reply-To: cygwin-developers AT sourceware DOT cygnus DOT com
Mail-Followup-To: cgf AT cygnus DOT com, cygwin-developers AT sourceware DOT cygnus DOT com
References: <s1spurp737f DOT fsf AT jaist DOT ac DOT jp> <20000417205014 DOT A5050 AT cygnus DOT com> <s1sk8hw6s40 DOT fsf AT jaist DOT ac DOT jp>
Mime-Version: 1.0
User-Agent: Mutt/1.1.8i
In-Reply-To: <s1sk8hw6s40.fsf@jaist.ac.jp>; from fujieda@jaist.ac.jp on Tue, Apr 18, 2000 at 11:49:19AM +0900

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 AT cygnus DOT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019