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 [EMAIL PROTECTED] -- Thomas Burg [EMAIL PROTECTED] 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/