* tty.h (tty::set_master_ctl_closed): Rename from set_master_closed.
(tty::is_master_closed): Drop method. * fhandler_tty.cc (fhandler_pty_slave::open): Remove code prematurely bailing out if master control thread is not running. (fhandler_pty_slave::read): Don't generate SIGHUP if master control thread is not running. (fhandler_pty_master::close): Rearrange code to avoid stopping master control thread twice in multi-threaded scenarios.
This commit is contained in:
@@ -12,3 +12,6 @@ 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
|
||||
|
||||
- Fix potential premature SIGHUP in pty code.
|
||||
Addresses: https://cygwin.com/ml/cygwin/2015-03/msg00070.html
|
||||
|
Reference in New Issue
Block a user