K 10 svn:author V 3 imp K 8 svn:date V 27 2003-04-21T05:58:51.000000Z K 7 svn:log V 365 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. END