1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-08-13 17:03:46 -04: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;
#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");