* select.cc (peek_serial): Add hack to allow proper operation with com0com
driver.
This commit is contained in:
parent
9cd075756e
commit
9895091d0d
|
@ -1,3 +1,8 @@
|
||||||
|
2009-01-22 Christopher Faylor <me+cygwin@cgf.cx>
|
||||||
|
|
||||||
|
* select.cc (peek_serial): Add hack to allow proper operation with
|
||||||
|
com0com driver.
|
||||||
|
|
||||||
2009-01-21 Corinna Vinschen <corinna@vinschen.de>
|
2009-01-21 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
Remove USE_SERVER define. Accommodate throughout.
|
Remove USE_SERVER define. Accommodate throughout.
|
||||||
|
|
|
@ -928,6 +928,10 @@ peek_serial (select_record *s, bool)
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* This is apparently necessary for the com0com driver.
|
||||||
|
See: http://cygwin.com/ml/cygwin/2009-01/msg00667.html */
|
||||||
|
SetCommMask (h, 0);
|
||||||
|
|
||||||
SetCommMask (h, EV_RXCHAR);
|
SetCommMask (h, EV_RXCHAR);
|
||||||
|
|
||||||
if (!fh->overlapped_armed)
|
if (!fh->overlapped_armed)
|
||||||
|
|
Loading…
Reference in New Issue