Have rename() semantics changed?

Corinna Vinschen vinschen@cygnus.com
Thu Jul 13 07:20:00 GMT 2000


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



More information about the Cygwin mailing list