Page MenuHomeFreeBSD

D3069.id6891.diff
No OneTemporary

D3069.id6891.diff

Index: sys/kern/sys_pipe.c
===================================================================
--- sys/kern/sys_pipe.c
+++ sys/kern/sys_pipe.c
@@ -946,9 +946,10 @@
retry:
PIPE_LOCK_ASSERT(wpipe, MA_OWNED);
error = pipelock(wpipe, 1);
- if (wpipe->pipe_state & PIPE_EOF)
+ if (error)
+ goto error1;
+ if (wpipe->pipe_state & PIPE_EOF) {
error = EPIPE;
- if (error) {
pipeunlock(wpipe);
goto error1;
}

File Metadata

Mime Type
text/plain
Expires
Fri, May 1, 8:19 AM (20 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
32565429
Default Alt Text
D3069.id6891.diff (417 B)

Event Timeline