Page MenuHomeFreeBSD

D30016.id.diff
No OneTemporary

D30016.id.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
Wed, Sep 9, 4:22 PM (4 h, 46 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
38598021
Default Alt Text
D30016.id.diff (404 B)

Event Timeline