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: Sun, 8 Jun 2003 18:09:29 +0200 From: Thomas Burg To: cygwin AT cygwin DOT com Subject: 1.3.22 bug in select() Message-ID: <20030608160929.GA7307@efrei.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.1i Hi I am programming an application for course with select(). And I notice a bug. Select is looking for a file descriptor branch on a serial port and stdin. My program work fine on Linux but not on windows: Select notice data arrived on the serial buffer. i restart my program and it didn't work anymore. To rexecute my program correctly i need to open program like HyperTerminal to make a connect/deconnect. And after i can execute my program 1 time. There is no problem with stdin it work very well. I think it's a probleme of bad closing in select fonction. I am sorry, i can produce patch. I join to this mail my program and the cygcheck.out Tb@+ -- Thomas Burg burg AT inv DOT efrei DOT fr DOT alid Promo 2005 EFREI -- 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/