From 852908e82d2f5e192113a11ead413214a135293e Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Thu, 6 Oct 2011 19:47:45 +0000 Subject: * 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. --- winsup/cygwin/sigproc.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'winsup/cygwin/sigproc.cc') 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); -- cgit v1.2.3