DragonFly BSD
DragonFly commits List (threaded) for 2011-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: poll(2): Set POLLERR properly


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sun, 25 Sep 2011 07:30:02 -0700 (PDT)

commit aa622c3d0448dbcf9cad62ea40234b9b01173663
Author: Sepherosa Ziehau <sephe@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]