Hi,

The attached patch is needed to enable the valgrind option.

Thanks,

-- 
Keisuke MORI
NTT DATA Intellilink Corporation
diff -r 8b07ee716560 heartbeat/config.c
--- a/heartbeat/config.c	Thu Oct 25 10:05:45 2007 +0200
+++ b/heartbeat/config.c	Mon Oct 29 18:11:47 2007 +0900
@@ -2542,7 +2542,7 @@ set_release2mode(const char* value)
 		r2size = DIMOF(r2minimal_dirs);
 
 	} else if (0 == strcasecmp("valgrind", value)) {
-#if ENABLE_LIBC_MALLOC	
+#if CL_USE_LIBC_MALLOC
 		r2dirs = &r2valgrind_dirs[0];
 		r2size = DIMOF(r2valgrind_dirs);
 		setenv("HA_VALGRIND_ENABLED", "1", 1);
_______________________________________________________
Linux-HA-Dev: [email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha-dev
Home Page: http://linux-ha.org/

Reply via email to