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:from:content-type:content-transfer-encoding :mime-version:subject:date:references:to:in-reply-to:message-id; q=dns; s=default; b=fQwWpSWGPd0Cz2oXNTwnxqCif0yQjyRfGPaYRfSBeUs 1f8PYAVuuDo1ELARUwLh+n26Sym0HSi4NGaSgHd9UH5d4nQX1xc+qb/5MycyK1Qg 0BxeBkPGzeMUlQ0SO374vz594o06ZzFQsi7t/d3FTLoDezJTqd2tc3OKGHwMuKFw = 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:from:content-type:content-transfer-encoding :mime-version:subject:date:references:to:in-reply-to:message-id; s=default; bh=F4qNqUm0Fvz5pWVNOWhQ8/ZL4PY=; b=eWHJIigcTWGX7AMDe hDrpmXwLkfd/yMISq8Vk8VmzBTBR22QdSm4Tssb1ZntyPUwOJC9Wr3UiOhmgJJ+F MDVSFWCEKoVabhKqUFgrJm4OvqwrrlOkLlwWMJOt7RH1exObBVv6VT9wbGL4U5Le qrpQpvFuk9p5o6ZHVp8k1MyQKI= 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=-1.5 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=pour X-HELO: gproxy5-pub.mail.unifiedlayer.com From: Vince Rice Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: Odd, is it not? mkdir 'e:\' cannot be undone by rmdir 'e:\' ... Date: Tue, 27 Aug 2019 11:44:17 -0500 References: <20190827152549 DOT GY11632 AT calimero DOT vinschen DOT de> To: cygwin AT cygwin DOT com In-Reply-To: Message-Id: <3E262D05-F393-453A-9E43-B248DDE50812@solidrocksystems.com> X-IsSubscribed: yes Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x7RH2K7v018483 > On Aug 27, 2019, at 11:28 AM, Houder wrote: > > On Tue, 27 Aug 2019 17:25:49, Corinna Vinschen wrote: >> … >> mkdir(2) has some special code from 2009 which drops trailing >> {back}slashes to perform a bordercase in mkdir Linux-compatible. >> This code snippet doesn't exist in rmdir(2). > > .. uhm, I must be speaking to the alter ego of Corinna V,. because > as far as I know, Corinna has given herself some time off ... > > Perhaps you could make an entry in her "TODO list" that the 3 lines > above requires some more explanation for pour souls like me. I am not Corinna, but I read that as… The mkdir command works because it has special code added to it to make it work. The rmdir command doesn't work because it doesn't have the same code in it. -- 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