projects
/
oweals
/
tinc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
818c92e
)
Disable support for kqueue on MacOS/X.
author
Guus Sliepen
<guus@tinc-vpn.org>
Thu, 15 Nov 2012 10:13:40 +0000
(11:13 +0100)
committer
Guus Sliepen
<guus@tinc-vpn.org>
Thu, 15 Nov 2012 10:13:40 +0000
(11:13 +0100)
Apparently MacOS/X doesn't support kqueue events on character devices.
src/tincd.c
patch
|
blob
|
history
diff --git
a/src/tincd.c
b/src/tincd.c
index 9f94d8942ef1155c69b62932db643b27b14ddd28..28f30a52c772b494154658931bce1770d1316817 100644
(file)
--- a/
src/tincd.c
+++ b/
src/tincd.c
@@
-450,6
+450,10
@@
int main2(int argc, char **argv) {
}
#endif
+#ifdef HAVE_DARWIN
+ setenv("EVENT_NOKQUEUE", "1", 0);
+#endif
+
if(!event_init()) {
logger(DEBUG_ALWAYS, LOG_ERR, "Error initializing libevent!");
return 1;