aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--osdep-linux.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/osdep-linux.c b/osdep-linux.c
index b65acffc..ccac2670 100644
--- a/osdep-linux.c
+++ b/osdep-linux.c
@@ -84,14 +84,7 @@ osdep_get_cwd(int fd)
struct event_base *
osdep_event_init(void)
{
- /*
- * On Linux, epoll doesn't work on /dev/null (yes, really).
- *
- * This has been commented because libevent versions up until the very
- * latest (1.4 git or 2.0.10) do not handle signals properly when using
- * poll or select, causing hangs.
- *
- */
- /* setenv("EVENT_NOEPOLL", "1", 1); */
+ /* On Linux, epoll doesn't work on /dev/null (yes, really). */
+ setenv("EVENT_NOEPOLL", "1", 1);
return (event_init());
}