diff options
author | root <root> | 2007-11-01 17:17:32 +0000 |
---|---|---|
committer | root <root> | 2007-11-01 17:17:32 +0000 |
commit | 96c68b67a0641d167fa6422f2fd1c1f74c25a83e (patch) | |
tree | 3172b0fc5a0805d12ac4532b88a4d86e691deb43 | |
parent | bf87f4b5b1275a7c0963432aae670d6b19ac6e0d (diff) |
created new documentation
-rw-r--r-- | ev.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -425,7 +425,7 @@ childcb (struct ev_signal *sw, int revents) while ((pid = waitpid (-1, &status, WNOHANG | WUNTRACED | WCONTINUED)) != -1) for (w = childs [pid & (PID_HASHSIZE - 1)]; w; w = w->next) - if (w->pid == pid || w->pid == -1) + if (w->pid == pid || !w->pid) { w->status = status; event ((W)w, EV_CHILD); |