delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/06/08/12:12:47

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: Sun, 8 Jun 2003 18:09:29 +0200
From: Thomas Burg <burg AT efrei DOT fr>
To: cygwin AT cygwin DOT com
Subject: 1.3.22 bug in select()
Message-ID: <20030608160929.GA7307@efrei.fr>
Mime-Version: 1.0
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019