HomeFreeBSD

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

Unpublished Commit ยท Learn More

No further details are available.

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
Parents
rS113788: Add eMicro codec ids.
Branches
Unknown
Tags
Unknown

Event Timeline