HomeFreeBSD

Fix /dev/devctl's implementation of poll. We should only be setting

Description

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.

Details

Provenance
impAuthored on Apr 21 2003, 5:58 AM
Parents
rG61a0da1de584: Add eMicro codec ids.
Branches
Unknown
Tags
Unknown

Event Timeline