On Jan 14 13:00, Masamichi Hosoda wrote:
> >> 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
>> 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
On Jan 12 09:07, Masamichi Hosoda wrote:
> Hello,
>
> 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
Masamichi Hosoda wrote:
Hello,
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.
---
#define OLDPATH "oldpath"
#define NEWPATH "newpath"
On 1/12/2017 10:36 AM, Corinna Vinschen wrote:
> On Jan 12 15:30, Nellis, Kenneth (Conduent) wrote:
>> 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.
>>>
On Jan 12 15:30, Nellis, Kenneth (Conduent) wrote:
> 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 dif
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 applicatio
>> 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.
Thank you for your answe
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.
--
9 matches
Mail list logo