Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
Date: Fri, 23 Nov 2001 14:08:19 +0100
From: Corinna Vinschen <cygwin@cygwin.com>
To: chad fowler <chadfowler@yahoo.com>
Cc: cygwin@cygwin.com
Subject: Re: select() weirdness
Message-ID: <20011123140819.H14975@cygbert.vinschen.de>
Mail-Followup-To: chad fowler <chadfowler@yahoo.com>, cygwin@cygwin.com
References: <20011121130653.60456.qmail@web13906.mail.yahoo.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
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@cygwin.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/

