This is the mail archive of the cluster-cvs@sourceware.org mailing list for the cluster.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

rgmanager: master - rgmanager: fix fallout from death of alloc library


Gitweb:        http://git.fedorahosted.org/git/rgmanager.git?p=rgmanager.git;a=commitdiff;h=44db667205561b11c2c25c7eb143e38ec0676472
Commit:        44db667205561b11c2c25c7eb143e38ec0676472
Parent:        fc140034274a86d88ee9c2669d1792fa22109dec
Author:        Fabio M. Di Nitto <fdinitto@redhat.com>
AuthorDate:    Mon May 4 09:01:15 2009 +0200
Committer:     Fabio M. Di Nitto <fdinitto@redhat.com>
CommitterDate: Mon May 4 09:03:17 2009 +0200

rgmanager: fix fallout from death of alloc library

Signed-off-by: Fabio M. Di Nitto <fdinitto@redhat.com>
---
 rgmanager/src/clulib/Makefile  |    2 +-
 rgmanager/src/clulib/msgtest.c |    7 -------
 rgmanager/src/daemons/test.c   |    3 ---
 3 files changed, 1 insertions(+), 11 deletions(-)

diff --git a/rgmanager/src/clulib/Makefile b/rgmanager/src/clulib/Makefile
index 6595953..52cd438 100644
--- a/rgmanager/src/clulib/Makefile
+++ b/rgmanager/src/clulib/Makefile
@@ -23,7 +23,7 @@ CFLAGS += -I$(S)/../../include
 CFLAGS += -I${incdir}
 
 LDFLAGS += -L${cmanlibdir} -lcman 
-LDFLAGS += -L. -lclulib -llalloc
+LDFLAGS += -L. -lclulib
 LDFLAGS += -lpthread
 LDFLAGS += -L${logtlibdir} -llogthread
 LDFLAGS += -L${libdir}
diff --git a/rgmanager/src/clulib/msgtest.c b/rgmanager/src/clulib/msgtest.c
index 609cd10..478ab2f 100644
--- a/rgmanager/src/clulib/msgtest.c
+++ b/rgmanager/src/clulib/msgtest.c
@@ -160,11 +160,6 @@ side_message(msgctx_t *ctx)
 	return 0;
 }
 
-
-void
-malloc_dump_table(int, int);
-
-
 void
 sigusr2_handler(int sig)
 {
@@ -274,7 +269,5 @@ main(int argc, char **argv)
 
 	cman_finish(clu);
 
-	malloc_dump_table(0, 1024);
-
 	exit(0);
 }
diff --git a/rgmanager/src/daemons/test.c b/rgmanager/src/daemons/test.c
index 26033b6..8b6b441 100644
--- a/rgmanager/src/daemons/test.c
+++ b/rgmanager/src/daemons/test.c
@@ -82,7 +82,6 @@ out_unlock:
 
 
 void _no_op_mode(int);
-void malloc_dump_table(void);
 char *agentpath = RESOURCE_ROOTDIR;
 
 
@@ -480,11 +479,9 @@ main(int argc, char **argv)
 
 	usage(arg0);
 	xmlCleanupParser();
-	malloc_dump_table();
 	return 1;
 
 out:
 	xmlCleanupParser();
-	malloc_dump_table();
 	return ret;
 }


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]