--- unix/selector.c.orig 2019-02-19 08:32:56.000000000 -0600 +++ unix/selector.c 2019-02-19 08:34:12.000000000 -0600 @@ -458,8 +458,10 @@ olddata = fdc->data; fdc->state = NULL; +#ifdef HAVE_EPOLL_PWAIT sel_update_epoll(sel, fd, EPOLL_CTL_DEL, 0); fdc->saved_events = 0; +#endif } init_fd(fdc);