delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/07/13/10:21:41

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <396DD038.248A100A@cygnus.com>
Date: Thu, 13 Jul 2000 16:20:40 +0200
From: Corinna Vinschen <vinschen AT cygnus DOT com>
Reply-To: cygwin <cygwin AT sources DOT redhat DOT com>
X-Mailer: Mozilla 4.73 [en] (X11; I; Linux 2.2.14-SMP i686)
X-Accept-Language: de, en
MIME-Version: 1.0
To: Stewart Greenhill <greenhil AT murdoch DOT edu DOT au>
CC: cygwin AT sourceware DOT cygnus DOT com
Subject: Re: Have rename() semantics changed?
References: <396D3E12 DOT FB3AFA79 AT murdoch DOT edu DOT au>

Stewart Greenhill wrote:
> 
> Hi,
> 
> The latest cygwin seems not to allow open files to be renamed. This
> works under Unix. It is not normally allowed under Windows, but worked
> in previous versions of the cygwin environment.
> 
> Is this an official change, or could it be a bug?

I have backtracked the sources 'til June 1999 and I couldn't
find _any_ code in rename() which would allow that explicitly.

AFAIK, the only special case is unlink() which tries to delete
files later if they are currently locked to simulate U*X behaviour.

Corinna

-- 
Corinna Vinschen
Cygwin Developer
Cygnus Solutions, a Red Hat company

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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