* fhandler_termios.cc (fhandler_termios::tcsetpgrp): Send __SIGSETPGRP

pseudo signal to process group instead of just calling
	init_console_handler.
	* sigproc.cc (wait_sig): Call init_console_handler here on __SIGSETPGRP
	signal.
	* sigproc.h (__SIGSETPGRP): Define.
This commit is contained in:
Corinna Vinschen
2011-10-06 19:47:45 +00:00
parent efe716bb8e
commit 852908e82d
4 changed files with 16 additions and 2 deletions

View File

@@ -23,7 +23,8 @@ enum
__SIGFLUSHFAST = -(NSIG + 6),
__SIGHOLD = -(NSIG + 7),
__SIGNOHOLD = -(NSIG + 8),
__SIGEXIT = -(NSIG + 9)
__SIGEXIT = -(NSIG + 9),
__SIGSETPGRP = -(NSIG + 10)
};
#endif