Page MenuHomeFreeBSD

D30016.diff
No OneTemporary

D30016.diff

diff --git a/sys/kern/sys_pipe.c b/sys/kern/sys_pipe.c
--- a/sys/kern/sys_pipe.c
+++ b/sys/kern/sys_pipe.c
@@ -1494,7 +1494,8 @@
rpipe->pipe_state |= PIPE_SEL;
}
- if ((fp->f_flag & FWRITE) != 0) {
+ if ((fp->f_flag & FWRITE) != 0 &&
+ wpipe->pipe_present == PIPE_ACTIVE) {
selrecord(td, &wpipe->pipe_sel);
if (SEL_WAITING(&wpipe->pipe_sel))
wpipe->pipe_state |= PIPE_SEL;

File Metadata

Mime Type
text/plain
Expires
Sun, Jan 18, 8:31 PM (11 m, 35 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
27718057
Default Alt Text
D30016.diff (404 B)

Event Timeline