summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjakemsr <jakemsr@openbsd.org>2007-07-06 03:20:07 +0000
committerjakemsr <jakemsr@openbsd.org>2007-07-06 03:20:07 +0000
commit6084c527b62eaa9558b4db78e797618dbb4caa3a (patch)
tree9ab2ce55a69a3dd1b9127a2c344f9de52afa209c /lib
parentsha1 is needed by wlan now, too (diff)
downloadwireguard-openbsd-6084c527b62eaa9558b4db78e797618dbb4caa3a.tar.xz
wireguard-openbsd-6084c527b62eaa9558b4db78e797618dbb4caa3a.zip
The poll(2) syscall doesn't work correctly on audio(4) devices.
For instance, it may not set POLLIN when samples become available, or may set POLLOUT when write(2) will block. Fix this by making conditions used by poll (FILTREAD and FILTWRITE macros) match the blocking conditions in audio_read() and audio_write(). originally from Alexandre Ratchov, with a small tweak by me. "patches look correct to me" marco@
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions