Permalink
Browse files

Disable epoll usage

  • Loading branch information...
1 parent c5172e9 commit 498fa056a16aec46556907c92e5c3add8f88a899 @rfrancoise rfrancoise committed Oct 9, 2011
Showing with 17 additions and 0 deletions.
  1. +16 −0 debian/patches/01_no_epoll.diff
  2. +1 −0 debian/patches/series
@@ -0,0 +1,16 @@
+Disable epoll on Linux since our libevent is new enough to have
+a fixed select/poll backend.
+---
+ osdep-linux.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+--- a/osdep-linux.c
++++ b/osdep-linux.c
+@@ -71,6 +71,6 @@
+ * poll or select, causing hangs.
+ *
+ */
+- /* setenv("EVENT_NOEPOLL", "1", 1); */
++ setenv("EVENT_NOEPOLL", "1", 1);
+ return (event_init());
+ }
View
@@ -1,3 +1,4 @@
+01_no_epoll.diff
05_build_kfreebsd_hurd.diff
07_fix_hyphen.diff
99_upstream.diff

0 comments on commit 498fa05

Please sign in to comment.