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

Matthew Dillon dillon at crater.dragonflybsd.org
Fri Nov 19 10:15:17 PST 2021


commit 3e6cd71a300e70d8644d281b53a7f30d1d5c4bce
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(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/3e6cd71a300e70d8644d281b53a7f30d1d5c4bce
-- 
DragonFly BSD source repository


More information about the Commits mailing list

AltStyle によって変換されたページ (->オリジナル) /