]> git.llucax.com Git - software/libev.git/commitdiff
susv3 specifies rounding behaviour to go up, so screw broken osses
authorroot <root>
Sun, 9 Dec 2007 03:41:44 +0000 (03:41 +0000)
committerroot <root>
Sun, 9 Dec 2007 03:41:44 +0000 (03:41 +0000)
ev_poll.c
ev_select.c

index 9ceff1659c60ac3207d301f8fc14e7ab2c33282d..698f37c561cdcfcd533a12da695efb205993084d 100644 (file)
--- 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;
 
index f899a794ad44ce56c8ad4c3af02c6bf2592ec4dd..3da0c61354c6bf152f4e6c85705a56d51604a048 100644 (file)
@@ -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;