diff options
author | imp <imp@FreeBSD.org> | 2003-04-21 05:58:51 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2003-04-21 05:58:51 +0000 |
commit | cf3cf85267793e75562a6705ade86e2e2f2ffd46 (patch) | |
tree | 99bc8b116945a7fa927cae614e40521d1cd00148 /sbin/devd | |
parent | 68750c77958aea54992841f17a2167facbff033f (diff) | |
download | FreeBSD-src-cf3cf85267793e75562a6705ade86e2e2f2ffd46.zip FreeBSD-src-cf3cf85267793e75562a6705ade86e2e2f2ffd46.tar.gz |
Fix /dev/devctl's implementation of poll. We should only be setting
the poll bits when there's actually something in the queue.
Otherwise, select always returned '2' when there were no items to be
read, and '3' when there were. This would preclude being able to read
in a threaded (libc_r) program, as well as checking to see if there
were pending events or not.
Diffstat (limited to 'sbin/devd')
0 files changed, 0 insertions, 0 deletions