diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2011-10-06 23:47:45 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2011-10-06 23:47:45 +0400 |
commit | 852908e82d2f5e192113a11ead413214a135293e (patch) | |
tree | 4871f5845b8bd14ced1ed386626b8764dac145a9 /winsup/cygwin/sigproc.cc | |
parent | efe716bb8eb2a8e34c4b5e5df658221778b4312e (diff) |
* 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.
Diffstat (limited to 'winsup/cygwin/sigproc.cc')
-rw-r--r-- | winsup/cygwin/sigproc.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc index 26f50f7be..cd27f2642 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -1225,6 +1225,9 @@ wait_sig (VOID *) my_sendsig = NULL; sigproc_printf ("saw __SIGEXIT"); break; /* handle below */ + case __SIGSETPGRP: + init_console_handler (true); + break; default: if (pack.si.si_signo < 0) sig_clear (-pack.si.si_signo); |