]> rtime.felk.cvut.cz Git - sojka/libev.git/commitdiff
*** empty log message ***
authorMarc Alexander Lehmann <libev@schmorp.de>
Mon, 12 Oct 2015 17:53:17 +0000 (17:53 +0000)
committerMarc Alexander Lehmann <libev@schmorp.de>
Mon, 12 Oct 2015 17:53:17 +0000 (17:53 +0000)
ev_epoll.c

index aef9d18bfe5dc2d71cf259c2578c87e784052f31..a1f04f6a497f29e699764a550d63ca6bf5fa4e28 100644 (file)
@@ -203,7 +203,7 @@ epoll_poll (EV_P_ ev_tstamp timeout)
           /* which is fortunately easy to do for us. */
           if (epoll_ctl (backend_fd, want ? EPOLL_CTL_MOD : EPOLL_CTL_DEL, fd, ev))
             {
-              postfork = 1; /* an error occurred, recreate kernel state */
+              postfork |= 2; /* an error occurred, recreate kernel state */
               continue;
             }
         }