mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Always disable kqueue on OSX. It seems linked to kernel panics
svn:r4282
This commit is contained in:
+3
-1
@@ -4,7 +4,6 @@
|
||||
/* See LICENSE for licensing information */
|
||||
/* $Id$ */
|
||||
const char config_c_id[] = "$Id$";
|
||||
|
||||
/**
|
||||
* \file config.c
|
||||
*
|
||||
@@ -290,6 +289,9 @@ options_act(void) {
|
||||
* exist, we don't care about it, since libevent will cope.
|
||||
*/
|
||||
suppress_libevent_log_msg("Function not implemented");
|
||||
#ifdef __APPLE__
|
||||
putenv("EVENT_NOKQUEUE=1");
|
||||
#endif
|
||||
event_init();
|
||||
suppress_libevent_log_msg(NULL);
|
||||
#if defined(HAVE_EVENT_GET_VERSION) && defined(HAVE_EVENT_GET_METHOD)
|
||||
|
||||
Reference in New Issue
Block a user