patch-1.3.98 linux/fs/pipe.c
Next file: linux/fs/proc/array.c
Previous file: linux/fs/nfs/nfsroot.c
Back to the patch index
Back to the overall index
- Lines: 9
- Date:
Fri May 3 10:24:07 1996
- Orig file:
v1.3.97/linux/fs/pipe.c
- Orig date:
Wed Apr 24 17:00:41 1996
diff -u --recursive --new-file v1.3.97/linux/fs/pipe.c linux/fs/pipe.c
@@ -161,7 +161,7 @@
select_wait(&PIPE_WAIT(*inode), wait);
return 0;
case SEL_OUT:
- if (!PIPE_FULL(*inode) || !PIPE_READERS(*inode))
+ if (PIPE_EMPTY(*inode) || !PIPE_READERS(*inode))
return 1;
select_wait(&PIPE_WAIT(*inode), wait);
return 0;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov
with Sam's (original) version of this