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

git: fifo: Restore the old semantics of select(2)/poll(2) for reading


From: Sepherosa Ziehau <sephe@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 24 Sep 2011 07:30:09 -0700 (PDT)

commit 010f86dc1259be3b29303bfc336532138acd077d
Author: Sepherosa Ziehau <sephe@dragonflybsd.org>
Date:   Sat Sep 24 22:16:13 2011 +0800

    fifo: Restore the old semantics of select(2)/poll(2) for reading
    
    select(2)/poll(2) for reading on a fifo should not return "ready
    to read" if all of the writers have closed the fifo.
    
    DragonFly-Bug: http://bugs.dragonflybsd.org/issue2028

Summary of changes:
 sys/vfs/fifofs/fifo_vnops.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/010f86dc1259be3b29303bfc336532138acd077d


-- 
DragonFly BSD source repository



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