All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cluster-devel] cluster/cman/daemon Makefile ais.c
@ 2008-01-02 10:56 pcaulfield
  0 siblings, 0 replies; only message in thread
From: pcaulfield @ 2008-01-02 10:56 UTC (permalink / raw)
  To: cluster-devel.redhat.com

CVSROOT:	/cvs/cluster
Module name:	cluster
Branch: 	RHEL5
Changes by:	pcaulfield at sourceware.org	2008-01-02 10:56:21

Modified files:
	cman/daemon    : Makefile ais.c 

Log message:
	Errorstring fixes from Fabio.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/daemon/Makefile.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.47.2.1&r2=1.47.2.2
http://sourceware.org/cgi-bin/cvsweb.cgi/cluster/cman/daemon/ais.c.diff?cvsroot=cluster&only_with_tag=RHEL5&r1=1.44.2.3&r2=1.44.2.4

--- cluster/cman/daemon/Makefile	2007/06/26 12:29:17	1.47.2.1
+++ cluster/cman/daemon/Makefile	2008/01/02 10:56:21	1.47.2.2
@@ -15,7 +15,7 @@
 
 include ${top_srcdir}/make/defines.mk
 
-CFLAGS+= -fPIC -I${ccsincdir} -I${incdir} -I${top_srcdir}/config \
+CFLAGS+= -I/home/christine/dev/openais-installed/usr/include -fPIC -I${ccsincdir} -I${incdir} -I${top_srcdir}/config \
 	-DCMAN_RELEASE_NAME=\"${RELEASE}\" -DOPENAIS_EXTERNAL_SERVICE
 
 ifeq ($(DEBUG),y)
--- cluster/cman/daemon/ais.c	2007/05/10 09:05:16	1.44.2.3
+++ cluster/cman/daemon/ais.c	2008/01/02 10:56:21	1.44.2.4
@@ -29,6 +29,7 @@
 
 /* openais headers */
 #include <openais/totem/totemip.h>
+//#include <openais/service/objdb.h>
 #include <openais/totem/totempg.h>
 #include <openais/totem/aispoll.h>
 #include <openais/service/service.h>
@@ -60,7 +61,6 @@
 int num_ais_nodes;
 
 static int config_run;
-static char errorstring[512];
 static int startup_pipe;
 static unsigned int debug_mask;
 static int first_trans = 1;
@@ -225,7 +225,7 @@
 	if (error)
 	{
 		write_cman_pipe("Error reading config from CCS");
-		sprintf(errorstring, "Error reading config from CCS");
+		*error_string = "Error reading config from CCS";
 		return -1;
 	}
 
@@ -234,6 +234,8 @@
 
 	config_run = 1;
 
+	*error_string = "Successfully read configuration from CCS";
+
 	return 0;
 }
 



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2008-01-02 10:56 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-02 10:56 [Cluster-devel] cluster/cman/daemon Makefile ais.c pcaulfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.