/dev/tty read is broken!

Steve O bub@io.com
Mon Jan 13 20:16:00 GMT 2003


John E. A. Wrote:
> However if I run the program full speed, or step through the fgetc() on 
> cygwin without previously typing a character into minicom, then the fgetc()
> call hangs.

I'm not familiar with the winsup/cygwin/fhandler_serial code, but if I was
going to debug this (which sounds like fun, but I don't have the setup), 
I'd run:
  strace test > test.dump
and see what's happening right before the ^C, then I'd look at the
cygwin code mentioned above. 

-steve

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list