diff options
author | Theo Deraadt <deraadt@openbsd.org> | 2010-08-04 19:46:13 +0000 |
---|---|---|
committer | Theo Deraadt <deraadt@openbsd.org> | 2010-08-04 19:46:13 +0000 |
commit | 4274a7ec89fbf2a0f8417f97d37f8cc8c5e3e156 (patch) | |
tree | a3caeae7ec20f6b4bc331cd1b1c8b05d5dc7ac12 | |
parent | 77f9c49829fa6c9f33f14ed7cf43ecb4827b54bc (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
-rw-r--r-- | server.c | 3 | ||||
-rw-r--r-- | tmux.c | 3 |
2 files changed, 0 insertions, 6 deletions
@@ -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"); @@ -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. */ |