CVSROOT:        /cvs/cluster
Module name:    cluster
Branch:         RHEL5
Changes by:     [EMAIL PROTECTED]       2008-01-30 20:00:26

Modified files:
        rgmanager/src/daemons: resrules.c 

Log message:
        Fix short read handling in read_pipe

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/rgmanager/src/daemons/resrules.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.16.2.9&r2=1.16.2.10

--- cluster/rgmanager/src/daemons/resrules.c    2007/12/18 17:52:56     1.16.2.9
+++ cluster/rgmanager/src/daemons/resrules.c    2008/01/30 20:00:26     
1.16.2.10
@@ -906,7 +906,7 @@
                if (n == 0 && (!*length))
                        return 0;
 
-               if (n != sizeof(buf)) {
+               if (n == 0) {
                        done = 1;
                }
 

Reply via email to