git: DragonFly_RELEASE_6_0 Fix select()/kqueue() bug with pipe()s

Matthew Dillon dillon at
Tue Dec 28 14:17:10 PST 2021

commit fc7b32bc0b299d35561687736940dd1d4a200417
Author: Matthew Dillon <dillon at>
Date:   Fri Nov 19 10:10:29 2021 -0800

    Fix select()/kqueue() bug with pipe()s
    * This causes select() / kqueue() was not returning a writable condition
      on a pipe() whos other end was closed early.
      If a select/kqueue test is performed prior to the other end closing,
      then future calls will later properly detect when the other end closes.
    * Should fix numerous niggling issues, including csh sometimes failing
      to recognize early exits of children.
    Reported-by: tmunro, deef, bug #3307

Summary of changes:
 sys/kern/sys_pipe.c | 4 ----
 1 file changed, 4 deletions(-)

DragonFly BSD source repository

More information about the Commits mailing list