ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/libev/ev.c
(Generate patch)

Comparing libev/ev.c (file contents):
Revision 1.45 by root, Sat Nov 3 09:19:58 2007 UTC vs.
Revision 1.46 by root, Sat Nov 3 09:20:12 2007 UTC

485 485
486 while ((pid = waitpid (-1, &status, WNOHANG | WUNTRACED | WCONTINUED)) != -1) 486 while ((pid = waitpid (-1, &status, WNOHANG | WUNTRACED | WCONTINUED)) != -1)
487 for (w = childs [pid & (PID_HASHSIZE - 1)]; w; w = w->next) 487 for (w = childs [pid & (PID_HASHSIZE - 1)]; w; w = w->next)
488 if (w->pid == pid || !w->pid) 488 if (w->pid == pid || !w->pid)
489 { 489 {
490 w->rpid = pid;
490 w->status = status; 491 w->rstatus = status;
491 event ((W)w, EV_CHILD); 492 event ((W)w, EV_CHILD);
492 } 493 }
493} 494}
494 495
495#endif 496#endif

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines