This is the mail archive of the cygwin 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]
Other format: [Raw text]

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


Greetings, Masamichi Hosoda!

> I've found that rename() cannot replace the file
> which is opened with writable access on Cygwin.
> On Linux, it works.

It is OS dependent behavior, and vary even on same OS.
Windows may let you rename a file, or may not, depends on how exactly it is
opened.


-- 
With best regards,
Andrey Repin
Thursday, January 12, 2017 08:38:15

Sorry for my terrible english...


--
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


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