delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/01/23/05:10:25

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=HnXq0kHpRYUdMnMGKz
DGz6bJo9QRq3RRW3iCNts2zq2RDjaj37dD5q4pAtrnVrHMJhOKC41wYNZqgtxjq/
az8Aet3zS9a7HewHHek75FjIuImde3Q80RoOCv7QCjW7lS3bvFa7TvlcWowpwB3E
qMyOpe4j/J3P4sfYPZeGYnDfA=
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=KgELsKZ7WbAwzZv4PxgItlcx23UO+EGhJJb+CmARVizjjr3Aa4y3+KbY
SeRfejNrLFR1va10SPtwbNIFyhY+o6ym1QO/Z0HR8DFe+eVMqDfnd/AEhc9vcj6U
QQQi+RXpFoGUQU6sVhuME6uSTRd3RSSYP1imAw6B+jn5NMVgvT4=
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
Delivered-To: corinna-cygwin AT cygwin DOT com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-1.0 required=5.0 tests=AWL,BAYES_20,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 <helmut DOT karlowski AT ish DOT de>
To: cygwin AT cygwin DOT com
Cc: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
Subject: Re: opendir(/dev/fd/n) should fail
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:09:04 +0100
Message-Id: <20150123110904.E9BABE68.helmut.karlowski@ish.de>
MIME-Version: 1.0
X-IsSubscribed: yes

--------------------------------------------------
Helmut Karlowski <helmut DOT karlowski AT ish DOT de> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019