| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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 |
| Date: | Wed, 20 Nov 2002 12:01:07 +0100 |
| From: | Corinna Vinschen <corinna-cygwin AT cygwin DOT com> |
| To: | cygwin AT cygwin DOT com |
| Subject: | Re: bug report: poll() with listen sockets always gives POLLERR |
| Message-ID: | <20021120120107.G24928@cygbert.vinschen.de> |
| Reply-To: | cygwin AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| References: | <20021120090730 DOT 2af8f54c DOT steven DOT obrien2 AT ntlworld DOT com> |
| Mime-Version: | 1.0 |
| In-Reply-To: | <20021120090730.2af8f54c.steven.obrien2@ntlworld.com> |
| User-Agent: | Mutt/1.3.22.1i |
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 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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |