summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2007-12-09 03:41:44 +0000
committerroot <root>2007-12-09 03:41:44 +0000
commitb4ea51ffb8ad1cf82bc52c03035eb335e2b4c88c (patch)
tree1f9d47a207e2f18934db72abaaf65249cb68f489
parent9a62cbcd5c7266b295d69c2ff1dc62c1afb02267 (diff)
susv3 specifies rounding behaviour to go up, so screw broken osses
-rw-r--r--ev_poll.c2
-rw-r--r--ev_select.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/ev_poll.c b/ev_poll.c
index 9ceff16..698f37c 100644
--- a/ev_poll.c
+++ b/ev_poll.c
@@ -108,7 +108,7 @@ poll_poll (EV_P_ ev_tstamp timeout)
int inline_size
poll_init (EV_P_ int flags)
{
- backend_fudge = 1e-3; /* needed to compensate for select returning early, very conservative */
+ backend_fudge = 0; /* needed to compensate for select returning early, very conservative */
backend_modify = poll_modify;
backend_poll = poll_poll;
diff --git a/ev_select.c b/ev_select.c
index f899a79..3da0c61 100644
--- a/ev_select.c
+++ b/ev_select.c
@@ -203,7 +203,7 @@ select_poll (EV_P_ ev_tstamp timeout)
int inline_size
select_init (EV_P_ int flags)
{
- backend_fudge = 1e-2; /* needed to compensate for select returning early, very conservative */
+ backend_fudge = 0; /* needed to compensate for select returning early, very conservative */
backend_modify = select_modify;
backend_poll = select_poll;