* 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:
@@ -416,7 +416,7 @@ fhandler_console::read (void *pv, size_t buflen)
|
||||
break;
|
||||
|
||||
case WINDOW_BUFFER_SIZE_EVENT:
|
||||
kill_pgrp (tc->getpgid (), SIGWINCH);
|
||||
tc->kill_pgrp (SIGWINCH);
|
||||
continue;
|
||||
|
||||
default:
|
||||
|
Reference in New Issue
Block a user