delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/23/08:11:19

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Fri, 23 Nov 2001 14:08:19 +0100
From: Corinna Vinschen <cygwin AT cygwin DOT com>
To: chad fowler <chadfowler AT yahoo DOT com>
Cc: cygwin AT cygwin DOT com
Subject: Re: select() weirdness
Message-ID: <20011123140819.H14975@cygbert.vinschen.de>
Mail-Followup-To: chad fowler <chadfowler AT yahoo DOT com>, cygwin AT cygwin DOT com
References: <20011121130653 DOT 60456 DOT qmail AT web13906 DOT mail DOT yahoo DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2.5i
In-Reply-To: <20011121130653.60456.qmail@web13906.mail.yahoo.com>; from chadfowler@yahoo.com on Wed, Nov 21, 2001 at 05:06:53AM -0800

On Wed, Nov 21, 2001 at 05:06:53AM -0800, chad fowler wrote:
> I'm a little confused about the behavior of select(). 
> It seems to behave differently in Cygwin than on other
> systems.  This is specifically regarding the exception
> fd_set when piping program output to another program. 
> Here's an example (which might have a problem or two
> but should demonstrate sufficiently):
> [...]
> Notice the "EXCEPT" lines.  AFAIK, the behavior on
> Cygwin is incorrect, though I'm *far* from being an
> expert.  

Thanks for the example!  I'm currently looking into the Cygwin
source and I have already found a small bug in the select() code
(though unrelated).  I think I have found the reason for what's
going on in your example but I'm still investigating.

Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Developer                                mailto:cygwin AT cygwin DOT com
Red Hat, Inc.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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