Page MenuHomeFreeBSD

D3069.id6892.diff
No OneTemporary

D3069.id6892.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 != 0)
+ goto error1;
+ if ((wpipe->pipe_state & PIPE_EOF) != 0) {
error = EPIPE;
- if (error) {
pipeunlock(wpipe);
goto error1;
}

File Metadata

Mime Type
text/plain
Expires
Sun, Jun 21, 2:38 AM (11 h, 22 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
34136885
Default Alt Text
D3069.id6892.diff (429 B)

Event Timeline