summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-10-14 01:03:10 +0200
committerDan McGee <dan@archlinux.org>2011-10-14 03:49:24 +0200
commit9934052b54fd4dcd2339a2beb87ccc81b5e144bd (patch)
treea81169693ad73e957b277124d9caa318ac15cb3b /src
parent53e525c4f3a6b0bfdc346b4563c6c8fc0e1b5b11 (diff)
downloadpacman-9934052b54fd4dcd2339a2beb87ccc81b5e144bd.tar.gz
pacman-9934052b54fd4dcd2339a2beb87ccc81b5e144bd.tar.xz
Remove mcheck.h support
When was the last time anyone used this? That's what I thought. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src')
-rw-r--r--src/pacman/pacman.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c
index d14b8879..5ebced25 100644
--- a/src/pacman/pacman.c
+++ b/src/pacman/pacman.c
@@ -39,9 +39,6 @@
#include <sys/utsname.h> /* uname */
#include <locale.h> /* setlocale */
#include <errno.h>
-#if defined(PACMAN_DEBUG) && defined(HAVE_MCHECK_H)
-#include <mcheck.h> /* debug tracing (mtrace) */
-#endif
/* alpm */
#include <alpm.h>
@@ -769,11 +766,6 @@ int main(int argc, char *argv[])
uid_t myuid = geteuid();
#endif
-#if defined(PACMAN_DEBUG) && defined(HAVE_MCHECK_H)
- /*setenv("MALLOC_TRACE","pacman.mtrace", 0);*/
- mtrace();
-#endif
-
/* Set signal handlers */
/* Set up the structure to specify the new action. */
new_action.sa_handler = handler;