diff options
author | root <root> | 2007-10-31 22:16:36 +0000 |
---|---|---|
committer | root <root> | 2007-10-31 22:16:36 +0000 |
commit | 2286b0bd1148eb87826698f86c8224f93ff502cd (patch) | |
tree | 64a6bde9fded05f26ffc7b0dda01927cb0f295e8 /ev_epoll.c | |
parent | 8ee1afd13859937076f9a9ff5e3420d3304f524e (diff) |
only add fds to fdchangeset one
Diffstat (limited to 'ev_epoll.c')
-rw-r--r-- | ev_epoll.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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; |