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:
parent
33c354031c
commit
d069999cbf
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user