[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] cluster/fence/fenced main.c



CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL5
Changes by:	rmccabe sourceware org	2007-10-01 16:32:26

Modified files:
	fence/fenced   : main.c 

Log message:
	Fix 314091

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/fence/fenced/main.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.38.2.3&r2=1.38.2.4

--- cluster/fence/fenced/main.c	2007/01/29 20:30:25	1.38.2.3
+++ cluster/fence/fenced/main.c	2007/10/01 16:32:26	1.38.2.4
@@ -459,8 +459,11 @@
 
 	for (;;) {
 		rv = poll(pollfd, maxi + 1, -1);
-		if (rv < 0)
+		if (rv < 0) {
+			if (errno == EINTR)
+				continue;
 			break;
+		}
 
 		/* client[0] is listening for new connections */
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]