summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/release/1.7.36
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2015-03-05 12:57:34 +0000
committerCorinna Vinschen <corinna@vinschen.de>2015-03-05 12:57:34 +0000
commit3bf693dde14b17e78ff99a0d04baf71841ae884c (patch)
tree2b0d5a8d2745410b2a82b052b5cf539019ec31cb /winsup/cygwin/release/1.7.36
parente185d3febe74ca06add356d5e922b7c0e8475329 (diff)
downloadcygnal-3bf693dde14b17e78ff99a0d04baf71841ae884c.tar.gz
cygnal-3bf693dde14b17e78ff99a0d04baf71841ae884c.tar.bz2
cygnal-3bf693dde14b17e78ff99a0d04baf71841ae884c.zip
* fhandler.h (fhandler_base::get_echo_handle): New virtual method.
(class fhandler_pty_master): Add echo_r and echo_w handles constituting read and write side of new echo pipe. * select.cc (peek_pipe): On pty masters, check additionally if input from the echo pipe is available. * fhandler_tty.cc (fhandler_pty_master::doecho): Drop output_mutex locking. Write output to echo pipe. (fhandler_pty_master::process_slave_output): Check if input is available in echo pipe and prefer to read from it, if so. (fhandler_pty_slave::write): Drop output_mutex locking. (fhandler_pty_master::fhandler_pty_master): Initialize echo pipe handles to NULL. (fhandler_pty_master::close): Close and NULL echo pipe handles. (fhandler_pty_master::setup): Create echo pipe, close in case of error.
Diffstat (limited to 'winsup/cygwin/release/1.7.36')
-rw-r--r--winsup/cygwin/release/1.7.3614
1 files changed, 14 insertions, 0 deletions
diff --git a/winsup/cygwin/release/1.7.36 b/winsup/cygwin/release/1.7.36
new file mode 100644
index 000000000..308a77225
--- /dev/null
+++ b/winsup/cygwin/release/1.7.36
@@ -0,0 +1,14 @@
+What's new:
+-----------
+
+
+What changed:
+-------------
+
+
+Bug Fixes
+---------
+
+- Fix potential hang in pseudo ttys when generating ECHO output while the slave
+ is flooding the pty with output.
+ Addresses: https://cygwin.com/ml/cygwin/2015-03/msg00019.html