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

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Sat Sep 24 07:31:12 PDT 2011


commit 010f86dc1259be3b29303bfc336532138acd077d
Author: Sepherosa Ziehau <sephe at 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





More information about the Commits mailing list