This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: Have rename() semantics changed?
- To: Stewart Greenhill <greenhil at murdoch dot edu dot au>
- Subject: Re: Have rename() semantics changed?
- From: Corinna Vinschen <vinschen at cygnus dot com>
- Date: Thu, 13 Jul 2000 16:20:40 +0200
- CC: cygwin at sourceware dot cygnus dot com
- References: <396D3E12.FB3AFA79@murdoch.edu.au>
- Reply-To: cygwin <cygwin at sources dot redhat dot com>
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@sourceware.cygnus.com