OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains4x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1888dbf
)
* * signal.cc (_pinfo::kill): Set this_process_state when process exists.
author
cgf
<cgf>
Mon, 18 Apr 2011 01:46:56 +0000
(
01:46
+0000)
committer
cgf
<cgf>
Mon, 18 Apr 2011 01:46:56 +0000
(
01:46
+0000)
winsup/cygwin/ChangeLog
patch
|
blob
|
history
winsup/cygwin/signal.cc
patch
|
blob
|
history
diff --git
a/winsup/cygwin/ChangeLog
b/winsup/cygwin/ChangeLog
index
3530834
..
93f6902
100644
(file)
--- a/
winsup/cygwin/ChangeLog
+++ b/
winsup/cygwin/ChangeLog
@@
-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.
diff --git
a/winsup/cygwin/signal.cc
b/winsup/cygwin/signal.cc
index
41eb03e
..
fed7b27
100644
(file)
--- a/
winsup/cygwin/signal.cc
+++ b/
winsup/cygwin/signal.cc
@@
-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;