2013-04-16 09:34:32 +00:00
|
|
|
--- ev.c.orig 2013-03-01 12:10:48.000000000 +0100
|
|
|
|
+++ ev.c 2013-04-11 06:20:42.146709446 +0200
|
|
|
|
@@ -3551,7 +3551,7 @@ ev_io_start (EV_P_ ev_io *w) EV_THROW
|
|
|
|
/* common bug, apparently */
|
|
|
|
assert (("libev: ev_io_start called with corrupted watcher", ((WL)w)->next != (WL)w));
|
2011-02-15 16:34:50 +00:00
|
|
|
|
|
|
|
- fd_change (EV_A_ fd, w->events & EV__IOFDSET | EV_ANFD_REIFY);
|
|
|
|
+ fd_change (EV_A_ fd, (w->events & EV__IOFDSET) | EV_ANFD_REIFY);
|
|
|
|
w->events &= ~EV__IOFDSET;
|
|
|
|
|
|
|
|
EV_FREQUENT_CHECK;
|
2013-04-16 09:34:32 +00:00
|
|
|
@@ -4792,8 +4792,8 @@ ev_walk (EV_P_ int types, void (*cb)(EV_
|
2011-02-15 16:34:50 +00:00
|
|
|
wl = wn;
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
-/* EV_STAT 0x00001000 /* stat data changed */
|
|
|
|
-/* EV_EMBED 0x00010000 /* embedded event loop needs sweep */
|
|
|
|
+/* EV_STAT 0x00001000 *//* stat data changed */
|
|
|
|
+/* EV_EMBED 0x00010000 *//* embedded event loop needs sweep */
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|