rename() cannot replace the file which is opened with writable access

Nellis, Kenneth (Conduent) Kenneth.Nellis@conduent.com
Thu Jan 12 15:30:00 GMT 2017


From: Masamichi Hosoda
> If I understand correctly,
> POSIX behavior should be able to replace the writable opened file by
> rename().
> But, It does not work on my Cygwin environment.
> 
> Is it no problem if Cygwin's behavior is different from POSIX behavior?
> If so, we need different application handling for Cygwin and POSIX.

I thought it would be informative to respond by referring the OP
to a section of the Cygwin User's Guide or FAQ that mentioned the
limitations of Cygwin, but I could not find it.

--Ken Nellis

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



More information about the Cygwin mailing list