git: poll(2): Set POLLERR properly

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sun Sep 25 07:31:05 PDT 2011


commit aa622c3d0448dbcf9cad62ea40234b9b01173663
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Sun Sep 25 22:19:19 2011 +0800

    poll(2): Set POLLERR properly
    
    If the other side closed the connection and error happens (so_error != 0)
    POLLERR is turned on accordingly.

Summary of changes:
 sys/kern/sys_generic.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/aa622c3d0448dbcf9cad62ea40234b9b01173663


-- 
DragonFly BSD source repository





More information about the Commits mailing list