git: kernel - Make returned pollfd's more conformant with legacy poll
Samuel Greear
sjg at crater.dragonflybsd.org
Mon Jul 19 14:58:35 PDT 2010
commit ffdd7c7cb647c130a784bbde09db81e9d52f3257
Author: Samuel J. Greear <sjg at thesjg.com>
Date: Tue Jun 29 23:47:53 2010 +0000
kernel - Make returned pollfd's more conformant with legacy poll
* Do not set ready states in revents if an error condition is present
* Mask out file descriptors with a descriptor id equalling -1
Summary of changes:
sys/kern/sys_generic.c | 35 +++++++++++++++++++++++------------
1 files changed, 23 insertions(+), 12 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ffdd7c7cb647c130a784bbde09db81e9d52f3257
--
DragonFly BSD source repository
More information about the Commits
mailing list