* malloc/arena.c (ptmalloc_init): Don't call __malloc_check_init
if MALLOC_CHECK_ env var contains an empty string.
This commit is contained in:
parent
cf6ada44a2
commit
ceba6be798
|
@ -1,3 +1,8 @@
|
||||||
|
2006-04-24 Jakub Jelinek <jakub@redhat.com>
|
||||||
|
|
||||||
|
* malloc/arena.c (ptmalloc_init): Don't call __malloc_check_init
|
||||||
|
if MALLOC_CHECK_ env var contains an empty string.
|
||||||
|
|
||||||
2006-04-24 Ulrich Drepper <drepper@redhat.com>
|
2006-04-24 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
* sysdeps/posix/getaddrinfo.c (getaddrinfo): Always initialize in6ai.
|
* sysdeps/posix/getaddrinfo.c (getaddrinfo): Always initialize in6ai.
|
||||||
|
|
|
@ -551,8 +551,8 @@ ptmalloc_init (void)
|
||||||
}
|
}
|
||||||
s = getenv("MALLOC_CHECK_");
|
s = getenv("MALLOC_CHECK_");
|
||||||
#endif
|
#endif
|
||||||
if(s) {
|
if(s && s[0]) {
|
||||||
if(s[0]) mALLOPt(M_CHECK_ACTION, (int)(s[0] - '0'));
|
mALLOPt(M_CHECK_ACTION, (int)(s[0] - '0'));
|
||||||
if (check_action != 0)
|
if (check_action != 0)
|
||||||
__malloc_check_init();
|
__malloc_check_init();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue