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

Whoops - I fail at setenv

This commit is contained in:
Aaron Griffin 2006-11-09 19:44:52 +00:00
parent 2d3a707a05
commit 33c354031c

View File

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