Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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: Thu, 13 Jan 2005 21:29:40 +0100 From: Corinna Vinschen To: cygwin AT cygwin DOT com Subject: Re: [Bug] dup() of serial file descriptor confuses select() Message-ID: <20050113202940.GA23702@cygbert.vinschen.de> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <41E45759 DOT 4040503 AT dadadada DOT net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41E45759.4040503@dadadada.net> User-Agent: Mutt/1.4.2i On Jan 11 17:46, Billy wrote: > > select() exhibits incorrect behavior when given > a dup()-licated serial device file descriptor > in its fd_set parameters. The select() call > immediately returns -1, but with errno = 0. Thanks for the report and the testcase. Both problems should be fixed now in current CVS. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader mailto:cygwin AT cygwin DOT com Red Hat, Inc. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/