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

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&r1=1.24&r2=1.25

--- cluster/rgmanager/src/daemons/resrules.c    2007/11/30 20:36:17     1.24
+++ cluster/rgmanager/src/daemons/resrules.c    2008/01/30 20:00:14     1.25
@@ -919,7 +919,7 @@
                if (n == 0 && (!*length))
                        return 0;
 
-               if (n != sizeof(buf)) {
+               if (n == 0) {
                        done = 1;
                }
 

Reply via email to