From: root Date: Sat, 3 Nov 2007 09:20:12 +0000 (+0000) Subject: add rpid/rstatus X-Git-Tag: rel-0_5~39 X-Git-Url: https://git.llucax.com/software/libev.git/commitdiff_plain/aad25d9f3779968dc81e15e9eea4f10d78c008ff add rpid/rstatus --- 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); } }