This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]