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:to:cc:subject:content-type :content-transfer-encoding:in-reply-to:references:date :message-id:mime-version; q=dns; s=default; b=AxR+8QiI4VvJTdnqHi d7NNsdekqqFs7X1EEqzTwbbrqPTmwTXZTp+f99VgazcMjRM+lCvTvqRjCVduAB5p mBYNTmp9StE5s/26v0+GaW/ClHl8R/UD1ieRcQgmVA5M+VYN6nRNNAdhFHlIinnC FDQ/hhCh+kkkY6r6Z4Sp/7A9k= 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:to:cc:subject:content-type :content-transfer-encoding:in-reply-to:references:date :message-id:mime-version; s=default; bh=OdVmNf15vI3BO63/TtPM9ZPq RRE=; b=jQ6ykfm0emipdQNP2sx31JXOFkplYAbNpyykXygaz9LLYh+YXsXfTZyN bZ9TeUTp+5SBduEN/mHjGyxWx2anFjJbNg4XgD/BoNMekV67+vxr/TFtFOhQiT+N mY9h2/cljOqp+AVZoMjd5BB8t5lIux+Xi/d93b/v8aWCiXENQ7s= 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.8 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-Spam-User: qpsmtpd, 2 recipients X-HELO: mailout.ish.de X-Spam-Score: -0.01 From: Helmut Karlowski To: cygwin AT cygwin DOT com Cc: Corinna Vinschen Subject: Re: opendir(/dev/fd/n) should fail Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit In-Reply-To: <20150123105430.210869D0.helmut.karlowski@ish.de> References: <20150123094322 DOT GA5612 AT calimero DOT vinschen DOT de> <20150123105430 DOT 210869D0 DOT helmut DOT karlowski AT ish DOT de> Date: Fri, 23 Jan 2015 11:00:34 +0100 Message-Id: <20150123110034.B8F3A9F0.helmut.karlowski@ish.de> MIME-Version: 1.0 X-IsSubscribed: yes -------------------------------------------------- Helmut Karlowski wrote: (23/01/2015 10:54) > > It's not just bash. The same happens in my home-grown shell. Starting > with /dev/fd/3 opendir succeeds giving (only the opendir-entries): Maybe it's because: 3 -> /proc/3008/fd/ which recurses into /dev/fd again? -Helmut -- 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