Page MenuHomeFreeBSD

D3069.id.diff
No OneTemporary

D3069.id.diff

Index: head/sys/kern/sys_pipe.c
===================================================================
--- head/sys/kern/sys_pipe.c
+++ head/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
Sat, Apr 4, 10:16 PM (11 h, 32 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
30847898
Default Alt Text
D3069.id.diff (444 B)

Event Timeline