diff options
author | Christopher Faylor <me@cgf.cx> | 2010-09-21 02:28:57 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2010-09-21 02:28:57 +0400 |
commit | df4d2bea3d9446532844b92e3ac38d5472672e6f (patch) | |
tree | 54ba263493d5db5be2247b6d41f8d9e8ad6b9a80 /winsup/cygwin/signal.cc | |
parent | 73b6b43ed33037f897ad95651f8ac2d1b233b25b (diff) |
* include/sys/cygwin.h (PID_NOTCYGWIN): New enum.
* spawn.cc (spawn_guts): Set a flag when a process is not a cygwin process.
* fhandler_tty.cc (fhandler_tty_slave::init): Remove previous change. Try a
different method to determine when we should become the process group owner.
* signal.cc (kill0): Remove archaic code which dealt with never-set flag.
Diffstat (limited to 'winsup/cygwin/signal.cc')
-rw-r--r-- | winsup/cygwin/signal.cc | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/winsup/cygwin/signal.cc b/winsup/cygwin/signal.cc index e12f63e2d..615104e80 100644 --- a/winsup/cygwin/signal.cc +++ b/winsup/cygwin/signal.cc @@ -274,12 +274,6 @@ kill0 (pid_t pid, siginfo_t& si) return -1; } - /* Silently ignore stop signals from a member of orphaned process group. - FIXME: Why??? */ - if (ISSTATE (myself, PID_ORPHANED) && - (si.si_signo == SIGTSTP || si.si_signo == SIGTTIN || si.si_signo == SIGTTOU)) - si.si_signo = 0; - return (pid > 0) ? pinfo (pid)->kill (si) : kill_pgrp (-pid, si); } |