diff options
author | Ted Unangst <tedu@cvs.openbsd.org> | 2015-12-16 20:12:32 +0000 |
---|---|---|
committer | Ted Unangst <tedu@cvs.openbsd.org> | 2015-12-16 20:12:32 +0000 |
commit | 410a200b67425c87e471d3d96a7b588c12a70dc3 (patch) | |
tree | 43650530eaff640ee6f077849d60eb482f086e11 /usr.bin/tmux/cmd-show-environment.c | |
parent | 0b955f2070e0f2fcef1b75b648c9baeac843e943 (diff) |
change the kqueue backend to call kevent() as events are added instead
of deferring until the dispatch loop. kqueue support for various types
of files and filesystems has been historically incomplete, and kevent
handles this condition by returning an error. the libevent dispatch
loop has no way to recover from this error and fails catastrophically,
bringing down the entire process because one file went bad.
now, instead of all that happending, event_add will return an error. the
application can choose to handle or ignore this error, but at least the
band will play on.
ok nicm
Diffstat (limited to 'usr.bin/tmux/cmd-show-environment.c')
0 files changed, 0 insertions, 0 deletions