| Kernel v2.1.100 /fs/pipe.c |
|---|
 2.1.100
 fs
 pipe.c
diff -u --recursive --new-file v2.1.99/linux/fs/pipe.c linux/fs/pipe.c
--- v2.1.99/linux/fs/pipe.c Thu Mar 26 15:57:05 1998
+++ linux/fs/pipe.c Mon May 4 18:02:09 1998
@@ -54,7 +54,7 @@
}
} else while (PIPE_EMPTY(*inode) || PIPE_LOCK(*inode)) {
if (PIPE_EMPTY(*inode)) {
- if (!PIPE_WRITERS(*inode))
+ if (!PIPE_WRITERS(*inode) || !count)
return 0;
}
if (signal_pending(current))
|