[Cluster-devel] cluster/group/lib libgroup.c

rpeterso at sourceware.org rpeterso at sourceware.org
Mon Nov 20 22:54:23 UTC 2006


CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL50
Changes by:	rpeterso at sourceware.org	2006-11-20 22:54:23

Modified files:
	group/lib      : libgroup.c 

Log message:
	if read() returns a non-EINTR error then abort

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/lib/libgroup.c.diff?cvsroot=cluster&only_with_tag=RHEL50&r1=1.24&r2=1.24.4.1

--- cluster/group/lib/libgroup.c	2006/10/24 15:11:20	1.24
+++ cluster/group/lib/libgroup.c	2006/11/20 22:54:23	1.24.4.1
@@ -176,6 +176,8 @@
 			return -1;
 		if (rv == -1 && errno == EINTR)
 			continue;
+		if (rv == -1)
+			return -1;
 		off += rv;
 	}
 	return 0;




More information about the Cluster-devel mailing list