Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 To: chad fowler Cc: cygwin AT cygwin DOT com Subject: Re: select() weirdness Message-ID: <20011123140819.H14975@cygbert.vinschen.de> Mail-Followup-To: chad fowler , cygwin AT cygwin DOT com References: <20011121130653 DOT 60456 DOT qmail AT web13906 DOT mail DOT yahoo DOT 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 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/