OSDN Git Service

* * signal.cc (_pinfo::kill): Set this_process_state when process exists.
authorcgf <cgf>
Mon, 18 Apr 2011 01:46:56 +0000 (01:46 +0000)
committercgf <cgf>
Mon, 18 Apr 2011 01:46:56 +0000 (01:46 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/signal.cc

index 3530834..93f6902 100644 (file)
@@ -1,5 +1,10 @@
 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
        existence of an existed process which has not yet been reaped.
 
index 41eb03e..fed7b27 100644 (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;