delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2015/01/22/18:18:40

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: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=VIGHPXEdLUuYkT9XPWrx4/4x
pV/W0GwctepOQoiA79jMxtZAFC1gP+aZURXbY+iRWcf4Lhhn9XC+PeuMIIUb80Pj
m4IQ2FntQ3EcjVXGXEXUPvhPeyS64UCoG/ZVwWvQzHxcGM6pPed7kK7Qjpxjis0h
veYCs2Vw1p6lpB3zbWw=
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=7vW5Khlsiz+0oEi2mJrbT4fl8j0=; b=
oQw9PAiyWF/o2jEsr6PDnCtcWNKJ30Cc34jLLroNUVzGByp19VlKrZMDquYWdQFO
sYOBl0x5LrLXXFUaKIiiM6YaBQ9Ftawm2rlNSqJLvG24u/1jRas2k8AvQj71UjHb
+pWqMlNjRRLSS8FJZjbARjH79wbUHSVSRVZF1TwvhMA=
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
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
To: cygwin AT cygwin DOT com
Subject: Re: opendir(/dev/fd/n) should fail
References: <op DOT xst4m7ihp852t4 AT nebbiolo DOT upc DOT de> <20150122091848 DOT GF19127 AT calimero DOT vinschen DOT de> <20150122135530 DOT GG19127 AT calimero DOT vinschen DOT de> <op DOT xsvu4wjiofd6j1 AT nebbiolo DOT upc DOT de>
Date: Thu, 22 Jan 2015 22:47:53 -0000
From: "Helmut Karlowski" <helmut DOT karlowski AT ish DOT de>
Message-ID: <op.xsvyx3pvofd6j1@nebbiolo.upc.de>
In-Reply-To: <op.xsvu4wjiofd6j1@nebbiolo.upc.de>
User-Agent: Opera Mail/12.16 (Win32)
Resent-To: "The Cygwin Mailing List" <cygwin AT cygwin DOT com>
MIME-Version: 1.0
Resent-From: "Helmut Karlowski" <helmut DOT karlowski AT ish DOT de>
Resent-Date: Thu, 22 Jan 2015 23:06:56 -0000
Resent-Message-ID: <op DOT xsvztuu3ofd6j1 AT nebbiolo DOT upc DOT de>
X-IsSubscribed: yes

Am 22.01.2015, 21:25 Uhr, schrieb Helmut Karlowski:

> Am 22.01.2015, 13:55 Uhr, schrieb Corinna Vinschen:
>
>> I applied a fix and uploaded a new developer snapshot to
>> https://cygwin.com/snapshots/
>>
>> Please give it a try and report back.
>
> I can't download the snapshot - tried with several browsers, all have  
> near to 0 transfer-speed. I'll try again this WE.

Ok, now I got it, using wget and waiting 30 min for 800k ...

The test-script runs ok, but the original issue remains. No clue what
happens:

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

 From what I observed opendir still succeeds in /dev/fd/3, and readdir
returns the name '0' as the first entry for example, and afterwards the  
/dev/fd-directory is full of invalid entries (/dev/fd/79 for example).

When I have time maybe I'll try to reproduce it with a standalone-program.

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

- Raw text -


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