summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/tmux.c
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-08-04 19:46:14 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-08-04 19:46:14 +0000
commite1efbf1bbe92de81860c2803bda817a394fa24c3 (patch)
treed7767c09d0046392eb81a6d6d33e8de56be3e465 /usr.bin/tmux/tmux.c
parent3d205f71b0f04381e5ff276324eb8744178d23db (diff)
switch back to kqueue for now, since (a) kqueue has been fixed to deal
with strange devices and (b) since there appears to be a bull in the poll code in libevent as well... requested by nicm who is away
Diffstat (limited to 'usr.bin/tmux/tmux.c')
-rw-r--r--usr.bin/tmux/tmux.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/tmux/tmux.c b/usr.bin/tmux/tmux.c
index d34b03186de..76107b377ef 100644
--- a/usr.bin/tmux/tmux.c
+++ b/usr.bin/tmux/tmux.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.c,v 1.85 2010/07/24 19:25:31 nicm Exp $ */
+/* $OpenBSD: tmux.c,v 1.86 2010/08/04 19:46:13 deraadt Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -532,10 +532,7 @@ main(int argc, char **argv)
exit(1);
}
- if (setenv("EVENT_NOKQUEUE", "1", 1) != 0)
- fatal("setenv");
ev_base = event_init();
- unsetenv("EVENT_NOKQUEUE");
set_signals(main_signal);
/* Initialise the client socket/start the server. */