--- libev/ev_epoll.c 2010/07/31 23:00:11 1.52 +++ libev/ev_epoll.c 2010/10/22 10:25:03 1.53 @@ -150,6 +150,7 @@ | (ev->events & (EPOLLIN | EPOLLERR | EPOLLHUP) ? EV_READ : 0); /* check for spurious notification */ + /* we assume that fd is always in range, as we never shrink the anfds arraay */ if (expect_false ((uint32_t)anfds [fd].egen != (uint32_t)(ev->data.u64 >> 32))) { /* recreate kernel state */