delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/03/09/10:32:13

X-Spam-Check-By: sourceware.org
Date: Thu, 9 Mar 2006 16:31:56 +0100
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: [BUG] rename("symlink", "regular_file") has weird results
Message-ID: <20060309153156.GZ3184@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <440F5C73 DOT 7050300 AT ukf DOT net>
Mime-Version: 1.0
In-Reply-To: <440F5C73.7050300@ukf.net>
User-Agent: Mutt/1.4.2i
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Mar  8 22:36, Max Bowsher wrote:
> Suppose "foo.tmp" is a symlink, and "foo" is a regular file.
> 
> Calling rename("foo.tmp", "foo") results in the very bizarre situation
> where, as far as Cygwin is concerned, there are TWO files called "foo"
> within the same directory.

Should be fixed now in CVS.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Project Co-Leader          cygwin AT cygwin DOT com
Red Hat

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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