summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2007-11-03 09:20:12 +0000
committerroot <root>2007-11-03 09:20:12 +0000
commitaad25d9f3779968dc81e15e9eea4f10d78c008ff (patch)
tree7da0233557fa8bcd36e2d00283e8646d111d3877
parentf123911c49df152e9b27ab4df77b12a03b6abfa2 (diff)
add rpid/rstatus
-rw-r--r--ev.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ev.c b/ev.c
index 7faa403..6c2f397 100644
--- a/ev.c
+++ b/ev.c
@@ -487,7 +487,8 @@ childcb (struct ev_signal *sw, int revents)
for (w = childs [pid & (PID_HASHSIZE - 1)]; w; w = w->next)
if (w->pid == pid || !w->pid)
{
- w->status = status;
+ w->rpid = pid;
+ w->rstatus = status;
event ((W)w, EV_CHILD);
}
}