* signal.cc (kill_pgrp): Revert 25-Oct change.

(kill_worker): Ditto.
This commit is contained in:
Christopher Faylor 2000-10-30 23:19:45 +00:00
parent 6b8ce74ca3
commit d50d220655
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
Mon Oct 30 16:54:26 2000 Christopher Faylor <cgf@cygnus.com>
* signal.cc (kill_pgrp): Revert 25-Oct change.
(kill_worker): Ditto.
Sun Oct 29 20:52:31 2000 Christopher Faylor <cgf@cygnus.com>
* include/cygwin/version.h: Bump DLL minor version number to 6.

View File

@ -160,7 +160,7 @@ kill_worker (pid_t pid, int sig)
sigproc_printf ("%d = sig_send, %E ", res);
res = -1;
}
else if (sendSIGCONT && ISSTATE(dest, PID_STOPPED))
else if (sendSIGCONT)
(void) sig_send (dest, SIGCONT);
syscall_printf ("%d = kill_worker (%d, %d)", res, pid, sig);
@ -217,6 +217,8 @@ kill_pgrp (pid_t pid, int 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)