X-Recipient: archive-cygwin@delorie.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:content-type:to:subject:references:date:from
	:message-id:in-reply-to:resent-to:mime-version
	:content-transfer-encoding:resent-from:resent-date
	:resent-message-id; q=dns; s=default; b=g4GjHuJ9BMw25FNY/RF2rzrW
	Vd5DmjuwJUAhkdulJT+dSVw/3pCUh5+1yEBujkKfAz+WGFsKHgW8XCAjXC/P1zB7
	LWHjqKAOhpqsWn2WT+P0BBDiRqMooZ4NEhKxyMaLrzh7wfT0Yz44cf2+2bILHNes
	L/Ks7WiCFnaUXko7dAc=
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:content-type:to:subject:references:date:from
	:message-id:in-reply-to:resent-to:mime-version
	:content-transfer-encoding:resent-from:resent-date
	:resent-message-id; s=default; bh=zFDYQIbJ3lihw3WX+eiQHii9TqM=; b=
	ScJVqGsukR4ldOFQO/sbR5iY3p24Xh8I+4zxoO7qjELYbCScH0+KB6P8lIvyj8UX
	/xNdq6zPRQpbtoPTU2580NGJmKgeT5Ze4S7c74Vb+eiiENSKKP2AmG6ww8+ECBdX
	ICMFFLiNM79SkQ0PXGPpnem5zNHadHpDiEjv9lH47K8=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2
X-HELO: mailout.ish.de
X-Spam-Score: -0.01
Content-Type: text/plain; charset=iso-8859-15; format=flowed; delsp=yes
To: cygwin@cygwin.com
Subject: Re: opendir(/dev/fd/n) should fail
References: <op.xst4m7ihp852t4@nebbiolo.upc.de> <20150122091848.GF19127@calimero.vinschen.de> <20150122135530.GG19127@calimero.vinschen.de> <op.xsvu4wjiofd6j1@nebbiolo.upc.de> <op.xsvyx3pvofd6j1@nebbiolo.upc.de>
Date: Thu, 22 Jan 2015 23:19:22 -0000
From: "Helmut Karlowski" <helmut.karlowski@ish.de>
Message-ID: <op.xsv0ekzkofd6j1@nebbiolo.upc.de>
In-Reply-To: <op.xsvyx3pvofd6j1@nebbiolo.upc.de>
User-Agent: Opera Mail/12.16 (Win32)
Resent-To: "The Cygwin Mailing List" <cygwin@cygwin.com>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Resent-From: "Helmut Karlowski" <helmut.karlowski@ish.de>
Resent-Date: Thu, 22 Jan 2015 23:25:01 -0000
Resent-Message-ID: <op.xsv0nzzwofd6j1@nebbiolo.upc.de>
X-IsSubscribed: yes

Am 22.01.2015, 22:47 Uhr, schrieb Helmut Karlowski:

> #! /bin/bash
> (set -o globstar 2>/dev/null) && set -o globstar || shopt -s globstar  
> extglob
> echo /dev/fd/**

run this in on mintty, and then in another:
ps:
...
         816    4012     816        176  pty0    1004 00:15:27  
/usr/bin/obash
676/home/hk#ll /proc/816/fd
total 0
lrwxrwxrwx 1 hk Benutzer 0 Jan 23 00:15 0 -> /dev/pty0
lrwxrwxrwx 1 hk Benutzer 0 Jan 23 00:15 1 -> /dev/pty0
lrwxrwxrwx 1 hk Benutzer 0 Jan 23 00:15 10 -> /proc/816/fd/
lrwxrwxrwx 1 hk Benutzer 0 Jan 23 00:15 100 -> /proc/816/fd/
lrwxrwxrwx 1 hk Benutzer 0 Jan 23 00:15 101 -> /proc/816/fd/
lrwxrwxrwx 1 hk Benutzer 0 Jan 23 00:15 102 -> /proc/816/fd/
lrwxrwxrwx 1 hk Benutzer 0 Jan 23 00:15 103 -> /proc/816/fd/
lrwxrwxrwx 1 hk Benutzer 0 Jan 23 00:15 104 -> /proc/816/fd/
lrwxrwxrwx 1 hk Benutzer 0 Jan 23 00:15 105 -> /proc/816/fd/
lrwxrwxrwx 1 hk Benutzer 0 Jan 23 00:15 106 -> /proc/816/fd/
lrwxrwxrwx 1 hk Benutzer 0 Jan 23 00:15 107 -> /proc/816/fd/
lrwxrwxrwx 1 hk Benutzer 0 Jan 23 00:15 108 -> /proc/816/fd/
lrwxrwxrwx 1 hk Benutzer 0 Jan 23 00:15 109 -> /proc/816/fd/
lrwxrwxrwx 1 hk Benutzer 0 Jan 23 00:15 11 -> /proc/816/fd/
lrwxrwxrwx 1 hk Benutzer 0 Jan 23 00:15 110 -> /proc/816/fd/

numerous entries ...

Seems I also have problems writing to this list, sorry if this came twice.

-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

