summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/fhandler_tty.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2012-06-19 00:38:02 +0000
committerChristopher Faylor <me@cgf.cx>2012-06-19 00:38:02 +0000
commit2addde8cb1e794a9818b9417839524dbc05401da (patch)
tree389e9271ffc3ea88d97116b52fa8e838889ab12f /winsup/cygwin/fhandler_tty.cc
parentaf5cd145835d35519af02d0d226f67eb777e4945 (diff)
downloadcygnal-2addde8cb1e794a9818b9417839524dbc05401da.tar.gz
cygnal-2addde8cb1e794a9818b9417839524dbc05401da.tar.bz2
cygnal-2addde8cb1e794a9818b9417839524dbc05401da.zip
Revert errneous checkin.
Check in actual change associated with ChangeLog.
Diffstat (limited to 'winsup/cygwin/fhandler_tty.cc')
-rw-r--r--winsup/cygwin/fhandler_tty.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc
index c5f1d4618..fe7e283a9 100644
--- a/winsup/cygwin/fhandler_tty.cc
+++ b/winsup/cygwin/fhandler_tty.cc
@@ -281,7 +281,7 @@ fhandler_pty_master::process_slave_output (char *buf, size_t len, int pktmode_on
goto out;
}
pthread_testcancel ();
- if (cancelable_wait (NULL, 10, cw_sig_eintr) == WAIT_SIGNALED
+ if (WaitForSingleObject (signal_arrived, 10) == WAIT_OBJECT_0
&& !_my_tls.call_signal_handler ())
{
set_errno (EINTR);