* * signal.cc (_pinfo::kill): Set this_process_state when process exists.

This commit is contained in:
Christopher Faylor 2011-04-18 01:46:57 +00:00
parent fdcae03c0f
commit 2d077d7c6d
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
2011-04-17 Christopher Faylor <me.cygwin2011@cgf.cx>
* * signal.cc (_pinfo::kill): Set this_process_state when process
exists.
2011-04-17 Christopher Faylor <me.cygwin2011@cgf.cx>
* signal.cc (_pinfo::kill): Return 0 when attempting to test for

View File

@ -229,6 +229,7 @@ _pinfo::kill (siginfo_t& si)
if (exists ())
{
bool sendSIGCONT;
this_process_state = process_state;
if ((sendSIGCONT = (si.si_signo < 0)))
si.si_signo = -si.si_signo;