diff options
author | Aaron Griffin <aaron@archlinux.org> | 2006-11-09 19:45:53 +0000 |
---|---|---|
committer | Aaron Griffin <aaron@archlinux.org> | 2006-11-09 19:45:53 +0000 |
commit | d069999cbf20551f672c7c4cd3035581ca7d8bee (patch) | |
tree | 6a7186089a4dcd1a96c7678eb19b207a8eea5dcf /src | |
parent | 33c354031c0734b2ed9524476cd5ccb86894c773 (diff) | |
download | pacman-d069999cbf20551f672c7c4cd3035581ca7d8bee.tar.xz |
Last mtrace/setenv change, I swear
Diffstat (limited to 'src')
-rw-r--r-- | src/pacman/pacman.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/pacman/pacman.c b/src/pacman/pacman.c index edbcabd6..68f6b520 100644 --- a/src/pacman/pacman.c +++ b/src/pacman/pacman.c @@ -411,10 +411,7 @@ int main(int argc, char *argv[]) list_t *lp; #if defined(PACMAN_DEBUG) && !defined(CYGWIN) && !defined(BSD) - char *malloc_trace = (char *)getenv("MALLOC_TRACE"); - if(!malloc_trace) { - setenv("MALLOC_TRACE","pacman.mtrace"); - } + setenv("MALLOC_TRACE","pacman.mtrace", 0); mtrace(); #endif cenv = getenv("COLUMNS"); |