This is the mail archive of the
mailing list for the Cygwin project.
Re: rename() cannot replace the file which is opened with writable access
>> I've found that rename() cannot replace the file
>> which is opened with writable access on Cygwin.
>> On Linux, it works.
>> If I understand correctly, it should work under POSIX.
>> Here's sample code for reproduce.
> Thanks for the testcase. I applied a patch(*) and will upload a new
> developer snapshot for testing to https://cygwin.com/snapshots/
> at some point tomorrow.
> (*) https://sourceware.org/git/?p=newlib-cygwin.git;a=commitdiff;h=6ed4753
The snapshot has been fixed the issue.
Problem reports: http://cygwin.com/problems.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple