[Cluster-devel] cluster/group/daemon main.c
rpeterso at sourceware.org
rpeterso at sourceware.org
Mon Nov 20 22:44:32 UTC 2006
CVSROOT: /cvs/cluster
Module name: cluster
Branch: RHEL50
Changes by: rpeterso at sourceware.org 2006-11-20 22:44:32
Modified files:
group/daemon : main.c
Log message:
if read() returns a non-EINTR error then consider the client dead
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/group/daemon/main.c.diff?cvsroot=cluster&only_with_tag=RHEL50&r1=1.51.4.2&r2=1.51.4.3
--- cluster/group/daemon/main.c 2006/11/20 22:31:51 1.51.4.2
+++ cluster/group/daemon/main.c 2006/11/20 22:44:31 1.51.4.3
@@ -73,6 +73,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