This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
1.3.22 bug in select()
- From: Thomas Burg <burg at efrei dot fr>
- To: cygwin at cygwin dot com
- Date: Sun, 8 Jun 2003 18:09:29 +0200
- Subject: 1.3.22 bug in select()
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@inv.efrei.fr.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/