* fhandler_console.cc (fhandler_console::read): Use appropriate kill_pgrp
method. * select.cc (peek_console): Ditto. * fhandler_termios.cc (fhandler_termios::bg_check): Send "stopped" signal to entire process group as dictated by SUSv3. * termios.cc (tcsetattr): Detect when stopped signal sent and force a stop before setting anything.
This commit is contained in:
@@ -169,7 +169,7 @@ fhandler_termios::bg_check (int sig)
|
||||
/* Don't raise a SIGTT* signal if we have already been interrupted
|
||||
by another signal. */
|
||||
if (WaitForSingleObject (signal_arrived, 0) != WAIT_OBJECT_0)
|
||||
_raise (sig);
|
||||
kill_pgrp (myself->pgid, sig);
|
||||
return bg_signalled;
|
||||
|
||||
setEIO:
|
||||
|
Reference in New Issue
Block a user