bug report: poll() with listen sockets always gives POLLERR

Corinna Vinschen corinna-cygwin@cygwin.com
Wed Nov 20 03:12:00 GMT 2002


On Wed, Nov 20, 2002 at 09:07:30AM +0000, Steven O'Brien wrote:
> Corinna Vinschen wrote:
> 
> > On Tue, Nov 19, 2002 at 01:34:30PM +0000, Steven O'Brien wrote:
> > > Hi
> > > 
> > > The current implementation of poll() does not behave correctly with
> > > listen sockets. It always gives a POLLERR revent when a connection
> > > request is received. I believe the error is in poll.cc lines 96-108:
> > > [...]
> 
> > Thanks for the report.  I've checked in a patch.  Please try the
> > next developers snapshot.
> 
> > Corinna
> 
> Thanks Corinna, but its still not quite right. poll() needs to set
> POLLIN

Oops, sure.  Thanks, I've applied the patch.

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/



More information about the Cygwin mailing list