git: Fix select()/kqueue() bug with pipe()s
dillon at crater.dragonflybsd.org
Fri Nov 19 10:15:17 PST 2021
Author: Matthew Dillon <dillon at apollo.backplane.com>
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