X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:references:to:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=woIsLtR/zfBd1UPx
	CwjoeB3mkn7A28Tlzpf895P60mbuq7wDDrRqI2u/HZmFdmbxpiUrLiQDVi2Bqgvg
	hDoBHIiXMxRh4CcBwjY0r9d2Kmi6dRTyHNigOfi1iXxMPIBDLQnT5BQ9RaG+8IVz
	aFRz3joUQjV64mOKWz8bylErukM=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:subject:references:to:from:message-id:date
	:mime-version:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=vMYkZltmvoxy045LXUsuc2
	0rAK0=; b=Wqsma0VByqihLQjqrR9aRa3VRdxLQj1Dj0T0Znsk9m2ACEBxW2VT3S
	+oIZ4/OjPqyx4VsFLjGeLucGgvie8fMps/7TY+OU4t15XMBCPi7EDstJVJs4jhAK
	2uDuk/bGIvVcTcLi40dU89/PkrfAHRe3UoQWsCiijLYMpwbK6mH9A=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=BAYES_00,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=honestly, Greetings
X-HELO: atfriesa01.ssi-schaefer.com
Subject: Re: [ANNOUNCEMENT] TEST: Cygwin 3.0.0-0.3
References: <announce.20190130212227.GP3912@calimero.vinschen.de> <19c5e653-890a-7c52-fde8-80df137223c9@ssi-schaefer.com> <20190131194813.GT3912@calimero.vinschen.de> <20190203111937.GG3532@calimero.vinschen.de> <f9e7921a-241b-7e75-52a6-84d0cf6e0ac0@ssi-schaefer.com> <20190206162037.GC13951@calimero.vinschen.de> <733654685.20190206221058@yandex.ru>
To: cygwin@cygwin.com
From: Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
Openpgp: preference=signencrypt
Message-ID: <1b0ba68d-c1a0-8e5f-4fb9-79e7a92d7d13@ssi-schaefer.com>
Date: Thu, 7 Feb 2019 09:32:36 +0100
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.5.0
MIME-Version: 1.0
In-Reply-To: <733654685.20190206221058@yandex.ru>
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

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

