From aad25d9f3779968dc81e15e9eea4f10d78c008ff Mon Sep 17 00:00:00 2001 From: root Date: Sat, 3 Nov 2007 09:20:12 +0000 Subject: add rpid/rstatus --- ev.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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); } } -- cgit v1.2.3