patch-2.1.100 linux/fs/pipe.c
Next file: linux/fs/proc/array.c
Previous file: linux/fs/open.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Mon May 4 18:02:09 1998
- Orig file:
v2.1.99/linux/fs/pipe.c
- Orig date:
Thu Mar 26 15:57:05 1998
diff -u --recursive --new-file v2.1.99/linux/fs/pipe.c linux/fs/pipe.c
@@ -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))
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov