]> git.llucax.com Git - software/libev.git/commitdiff
add rpid/rstatus
authorroot <root>
Sat, 3 Nov 2007 09:20:12 +0000 (09:20 +0000)
committerroot <root>
Sat, 3 Nov 2007 09:20:12 +0000 (09:20 +0000)
ev.c

diff --git a/ev.c b/ev.c
index 7faa403a6b206588519a69f246b36b727f744dd0..6c2f3977d815a785bbdc78b5acd24b8f410b9f10 100644 (file)
--- 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);
         }
 }