X-Recipient: archive-cygwin AT delorie DOT 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:date:message-id:from:reply-to:to:subject :references:in-reply-to:content-type; q=dns; s=default; b=Pj7mWr EQaW3zquyGT2v7iwcZUA3V8lOsylOiVDv57XU1FRo5aI8BCsmg8X/gvN2HMw/1Wv fCeHZOC+1Ow7QVun59okH7WjTR1wfB4QrtmQgJee4W/MKMNPLHUdR1A+Ik+M0gUP KHXvqoJdhB8NnXqLyD1QVm4VeNEEPssA6YfVo= 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:date:message-id:from:reply-to:to:subject :references:in-reply-to:content-type; s=default; bh=6/kLplgHtsM9 qJb/qjDY9NunyvQ=; b=kaky1RBEW65xMo1wWi6K6BTIZi0khVqDGMY7s43zdNKN oO9+fAXTMaYO/u3AC7cKkHfklGPAjDJz9MaVvkj0KLKjEnoR2Nbi00sWFj8GqWgh qAKDKCUyy+7XHTS1EIpw/FXYVJXpTXbkFPivDcMnADN2WNwvHEPp7yHrY80czvY= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-4.5 required=5.0 tests=AWL,BAYES_00,GIT_PATCH_2,L_8BIT_MISMATCH,NORMAL_HTTP_TO_IP,NUMERIC_HTTP_ADDR,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.1 spammy=his X-HELO: lb1-smtp-cloud9.xs4all.net Date: Tue, 03 Sep 2019 10:39:54 +0200 Message-ID: From: Houder Reply-To: cygwin AT cygwin DOT com To: cygwin AT cygwin DOT com Subject: Re: Odd, is it not? mkdir 'e:\' cannot be undone by rmdir 'e:\' ... References: <3E262D05-F393-453A-9E43-B248DDE50812 AT solidrocksystems DOT com> <20190828125939 DOT GL11632 AT calimero DOT vinschen DOT de> <421ac447-b249-da21-1ca5-228041cfc884 AT redhat DOT com> <20190828141556 DOT GM11632 AT calimero DOT vinschen DOT de> <20190828142220 DOT GN11632 AT calimero DOT vinschen DOT de> <4a87b7a940fb0cf76aac5f3bc5b1a8b3 AT smtp-cloud7 DOT xs4all DOT net> <20190902081508 DOT GB4164 AT calimero DOT vinschen DOT de> In-Reply-to: <20190902081508.GB4164@calimero.vinschen.de> Content-Type: text/plain; charset=UTF-8; format=fixed User-Agent: mua.awk 0.99 On Mon, 2 Sep 2019 10:15:08, Corinna Vinschen wrote: > > On Sep 1 19:38, Houder wrote: > > Hi Corinna, > > > > My last post in this issue. > > > > As reported, Eric's code snippet in rmdir() (dir.cc) has become > > redundant, lines 317 - 325 can be removed. > > This is what I'm not entirely sure about. There's some kind of > bordercase and as soon as we release Cygwin with this change, > as chance would have it somebody will report a problem. And you would be correct ... :-P (see below) > I'm not opposed to removing this code, but I'd like to get Eric's > input on this. Sure, I understand (Eric is far more knowledgable than I am). Henri ----- 64-@@ uname -a CYGWIN_NT-6.1 Seven 3.1.0 path.cc-!opt (2019-09-02 15:11 2019-09-02 15:11 x86_64 Cygwin ------------ That is, I am using an modified 3.1.0-0.2 ... 64-@@ mkdir aap 64-@@ ln -s aap noot 64-@@ mkdir noot mkdir: cannot create directory ‘noot’: File exists 64-@@ mkdir noot/ mkdir: cannot create directory ‘noot/’: File exists 64-@@ rmdir aap 64-@@ mkdir noot mkdir: cannot create directory ‘noot’: File exists 64-@@ mkdir noot/ <==== Whao! So that is what Eric indicated in his commit! 64-@@ ls -ld aap <==== WRONG! WRONG! drwxr-xr-x+ 1 Henri None 0 Sep 3 10:28 aap Investigating ... ===== -- 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