delorie.com/archives/browse.cgi | search |
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:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; q=dns; s= | |
default; b=C6PsjObwpIYLaYq0lWMcrb2Vt8KothbQBzvtzy0suhCYT78gAmoYq | |
ubZSHiualBRpU1QwD5KTlN26mpmzkcwlTlT52s0ei7MvJHdf77c29mDumXndRAr6 | |
vakmYNQDxw4qYUotxeiTnSO7abPtvNzwbe9nvX4X7ijHpdcP6Nb7Bk= | |
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:from:to:subject:message-id:reply-to | |
:references:mime-version:content-type:in-reply-to; s=default; | |
bh=qwUvZ/JUux6FEQDo+J/FTya4YqY=; b=VOKO1TQnHdxudRoHPLHCL49brToL | |
2OfylkxjM79AzBvKDu8wqvSikL899KexWC7e0lKQnbB/pVKVD5Szsqzk8hZTZG7/ | |
8d6x5bAqiTi1Rnne8FL2trmcl1FuL/K/c3nr0JpHpXRKaqfxnx0kTgr0OZy45zp7 | |
r/kWZEqh94PIWjI= | |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sourceware.org/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
X-Spam-SWARE-Status: | No, score=-1.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.1 |
Date: | Thu, 16 May 2013 10:08:07 +0200 |
From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: Strange problem with find and directories |
Message-ID: | <20130516080807.GA21145@calimero.vinschen.de> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <5F8AAC04F9616747BC4CC0E803D5907D0AF7ABC6 AT MLBXv04 DOT nih DOT gov> <5F8AAC04F9616747BC4CC0E803D5907D0AF7ABE9 AT MLBXv04 DOT nih DOT gov> <5F8AAC04F9616747BC4CC0E803D5907D0AF7ACA6 AT MLBXv04 DOT nih DOT gov> |
MIME-Version: | 1.0 |
In-Reply-To: | <5F8AAC04F9616747BC4CC0E803D5907D0AF7ACA6@MLBXv04.nih.gov> |
User-Agent: | Mutt/1.5.21 (2010-09-15) |
On May 16 01:56, Lavrentiev, Anton (NIH/NLM/NCBI) [C] wrote: > $ strace --help > ... > -V, --version output version information and exit > ... > > So man page needs to be more *case-sensitive*. Also, it looks like -f Dunno where the man page error stems from, but the official documentation is correct: http://cygwin.com/cygwin-ug-net/using-utils.html#strace > actually turns off the child tracing This is documented in http://cygwin.com/cygwin-ug-net/using-utils.html#strace as well: -f, --trace-children trace child processes (toggle - default true) > > Finally, I had strace running without the -f switch, and it finished > successfully, showing the following sequence in the trace file leading > to errno 20 (ENOTDIR): > [...] > 28 86781 [main] find 5420 open: -1 = open(/home/lavr/test/dir, 0x30C000), errno 20 > > Clearly, find would be happy to see ENOENT there (and it's actually what should have > been flagged in the absence of the directory after its removal, as ENOTDIR is > not applicable in such case). Fixed in CVS. You now get $ mkdir dir $ find . -name dir -type d -exec rm -rf '{}' \; find: `./dir': No such file or directory as on Linux. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Maintainer cygwin AT cygwin DOT com Red Hat -- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |