+Wed Oct 25 20:49:59 2000 Christopher Faylor <cgf@cygnus.com>
+
+ * signal.cc (kill_pgrp): Don't limit sending of signals to stopped
+ processes when sig < 0.
+ (kill_worker): Only send SIGCONT to stopped processes when sendSIGCONT.
+
Wed Oct 25 13:56:39 2000 Christopher Faylor <cgf@cygnus.com>
* exceptions.cc (sig_handle): Just make sure that wait_sig loops when
sigproc_printf ("%d = sig_send, %E ", res);
res = -1;
}
- else if (sendSIGCONT)
+ else if (sendSIGCONT && ISSTATE(dest, PID_STOPPED))
(void) sig_send (dest, SIGCONT);
syscall_printf ("%d = kill_worker (%d, %d)", res, pid, sig);
continue;
if (pid > 1 && p->pgid != pid)
continue;
- if (sig < 0 && NOTSTATE(p, PID_STOPPED))
- continue;
sigproc_printf ("killing pid %d, pgrp %d, p->ctty %d, myself->ctty %d",
p->pid, p->pgid, p->ctty, myself->ctty);
if (p == myself)