1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-12-23 16:28:50 -05:00

Last mtrace/setenv change, I swear

This commit is contained in:
Aaron Griffin 2006-11-09 19:45:53 +00:00
parent 33c354031c
commit d069999cbf

View File

@ -411,10 +411,7 @@ int main(int argc, char *argv[])
list_t *lp; list_t *lp;
#if defined(PACMAN_DEBUG) && !defined(CYGWIN) && !defined(BSD) #if defined(PACMAN_DEBUG) && !defined(CYGWIN) && !defined(BSD)
char *malloc_trace = (char *)getenv("MALLOC_TRACE"); setenv("MALLOC_TRACE","pacman.mtrace", 0);
if(!malloc_trace) {
setenv("MALLOC_TRACE","pacman.mtrace");
}
mtrace(); mtrace();
#endif #endif
cenv = getenv("COLUMNS"); cenv = getenv("COLUMNS");