Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Kernel v2.1.100 /fs/pipe.c

Filename:/fs/pipe.c
Lines Added:1
Lines Deleted:1
Also changed in: (Previous) 2.1.91  2.1.89  2.1.72  2.1.60  2.1.57  2.1.56 
(Following) 2.1.107  2.1.118  2.1.123  2.1.129 

Location
[  2.1.100
  [  fs
     o  pipe.c

Patch

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))


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.