Web lists-archives.com

Re: [ANNOUNCEMENT] TEST: Cygwin 3.0.0-0.3




On 2/6/19 8:10 PM, Andrey Repin wrote:
> Greetings, Corinna Vinschen!
> 
>> On Feb  6 15:28, Michael Haubenwallner wrote:
>>> On 2/3/19 12:19 PM, Corinna Vinschen wrote:
>>>> On Jan 31 20:48, Corinna Vinschen wrote:
>>>>> On Jan 31 09:47, Michael Haubenwallner wrote:
>>>>>> Hi Corinna,
>>>>>>
>>>>>> I'm missing that topic/forkables branch in the announcement - is that in?
>>>>>> https://cygwin.com/ml/cygwin-patches/2017-q1/msg00053.html
>>>>>
>>>>> No, it's not.  It hasn't been touched for almost two years so I forgot
>>>>> about it.
>>>>>
>>>>> Does it still apply to current mainline?  Will it still work correctly
>>>>> in conjunction with the Windows 10 1709/1803/1809 changes in terms of
>>>>> deleting and renaming files?
>>>
>>> Independent of topic/forkables: With Cygwin 3.0.0 replacing/removing an
>>> exe or dll in use does fail on Server 2019 while it does succeed on 2012.
>>> The error messages on Server 2019 is 'Permission denied'.
> 
>> Is that the new FILE_DISPOSITION_POSIX_SEMANTICS change by any chance?
> 
>> https://sourceware.org/git/?p=newlib-cygwin.git;a=commitdiff;h=a7f392686b5b2
> 
>> If so, sigh, no new API without drawbacks.
> 
>> I guess we have to fallback to the old method in certain cases.
> 
> This should be solved at install level, IMO.
> Rename -> replace -> restart -> remove.

Honestly, this is kind of "Windows style".
The "Unix style" is: replace -> restart, hence the rename (to trashbin)
and the remove (once unused) should be handled transparently by Cygwin.

/haubi/

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