Skip to contentSkip to conversation

cluster/rgmanager/src/daemons resrules.c

Cluster-devel [email protected] 1 participant 1 message Jan 30, 2008

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL5
Changes by: lhh at sourceware.org 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

rgmanager/src/daemons/resrules.c +1 -1
@@ -906,7 +906,7 @@
 		if (n == 0 && (!*length))
 			return 0;
 
-		if (n != sizeof(buf)) {
+		if (n == 0) {
 			done = 1;
 		}