diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-08-04 19:46:14 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2010-08-04 19:46:14 +0000 |
commit | e1efbf1bbe92de81860c2803bda817a394fa24c3 (patch) | |
tree | d7767c09d0046392eb81a6d6d33e8de56be3e465 /usr.bin/tmux/server.c | |
parent | 3d205f71b0f04381e5ff276324eb8744178d23db (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/server.c')
-rw-r--r-- | usr.bin/tmux/server.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.bin/tmux/server.c b/usr.bin/tmux/server.c index 4d52b888d5b..daca2387335 100644 --- a/usr.bin/tmux/server.c +++ b/usr.bin/tmux/server.c @@ -1,4 +1,4 @@ -/* $OpenBSD: server.c,v 1.90 2010/07/24 19:25:32 nicm Exp $ */ +/* $OpenBSD: server.c,v 1.91 2010/08/04 19:46:13 deraadt Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -139,11 +139,8 @@ server_start(char *path) fatal("daemon failed"); /* event_init() was called in our parent, need to reinit. */ - if (setenv("EVENT_NOKQUEUE", "1", 1) != 0) - fatal("setenv"); if (event_reinit(ev_base) != 0) fatal("event_reinit failed"); - unsetenv("EVENT_NOKQUEUE"); clear_signals(); logfile("server"); |