This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Have rename() semantics changed?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]