X-Git-Url: https://git.llucax.com/software/libev.git/blobdiff_plain/c92198a5c36ea9d1b1e0fae8254eb5609553bbf9..6b6af45b9896cf5a87be2cec6239b7d254db2e10:/ev_kqueue.c diff --git a/ev_kqueue.c b/ev_kqueue.c index 3103db1..149455d 100644 --- a/ev_kqueue.c +++ b/ev_kqueue.c @@ -153,8 +153,7 @@ kqueue_init (EV_P_ int flags) fcntl (backend_fd, F_SETFD, FD_CLOEXEC); /* not sure if necessary, hopefully doesn't hurt */ - /* fudge *might* be zero from the documentation, but bsd docs are notoriously wrong */ - backend_fudge = 1e-3; /* needed to compensate for kevent returning early */ + backend_fudge = 0.; backend_modify = kqueue_modify; backend_poll = kqueue_poll;