forked from pool/libev
- Update to 4.22 - Refresh libev-4.15_compiler_warnings.patch OBS-URL: https://build.opensuse.org/request/show/350695 OBS-URL: https://build.opensuse.org/package/show/server:http/libev?expand=0&rev=23
25 lines
826 B
Diff
25 lines
826 B
Diff
Index: ev.c
|
|
===================================================================
|
|
--- ev.c.orig
|
|
+++ ev.c
|
|
@@ -3845,7 +3845,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));
|
|
|
|
- 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;
|
|
@@ -5086,8 +5086,8 @@ ev_walk (EV_P_ int types, void (*cb)(EV_
|
|
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
|
|
|