summaryrefslogtreecommitdiffstats
path: root/osdep-linux.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2011-01-13 19:58:47 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2011-01-13 19:58:47 +0000
commite08a40be56ed3adbcd981506304c7605a9a50f47 (patch)
treea5a489683f4467ae0fb3398f38f6c52635488f79 /osdep-linux.c
parentabd1f615b2413f17fdc447cba10f8764a1eb5f08 (diff)
osdep-linux.c
Diffstat (limited to 'osdep-linux.c')
-rw-r--r--osdep-linux.c9
1 files changed, 7 insertions, 2 deletions
diff --git a/osdep-linux.c b/osdep-linux.c
index e3fe277d..143c5678 100644
--- a/osdep-linux.c
+++ b/osdep-linux.c
@@ -1,4 +1,4 @@
-/* $Id: osdep-linux.c,v 1.7 2010-12-30 20:41:08 nicm Exp $ */
+/* $Id: osdep-linux.c,v 1.8 2011-01-13 19:58:47 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -65,7 +65,12 @@ 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);
+ /* setenv("EVENT_NOEPOLL", "1", 1); */
return (event_init());
}