X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/2fde047707205b8d8f1c71482d2df57105217e17..89c65248d571a6a0ba88e2e0290db2c03f1e992c:/ev_epoll.c diff --git a/ev_epoll.c b/ev_epoll.c index 92587c2..d03f8a5 100644 --- a/ev_epoll.c +++ b/ev_epoll.c @@ -55,8 +55,8 @@ epoll_postfork_child (void) /* re-register interest in fds */ for (fd = 0; fd < anfdmax; ++fd) - if (anfds [fd].wev) - epoll_modify (fd, EV_NONE, anfds [fd].wev); + if (anfds [fd].events && !(anfds [fd].events & EV_REIFY))//D + epoll_modify (fd, EV_NONE, anfds [fd].events); } static struct epoll_event *events;