mirror of
https://sourceware.org/git/glibc.git
synced 2025-06-02 02:01:46 +03:00
Update.
* malloc/arena.c (ptmalloc_init): Allow MALLOC_CHECK_==0 to disable all checking.
This commit is contained in:
parent
e9f4e84407
commit
a19fe332c1
@ -1,5 +1,8 @@
|
|||||||
2004-09-28 Ulrich Drepper <drepper@redhat.com>
|
2004-09-28 Ulrich Drepper <drepper@redhat.com>
|
||||||
|
|
||||||
|
* malloc/arena.c (ptmalloc_init): Allow MALLOC_CHECK_==0 to
|
||||||
|
disable all checking.
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (si_flags): Add
|
* sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (si_flags): Add
|
||||||
support to get this value.
|
support to get this value.
|
||||||
|
|
||||||
|
@ -495,7 +495,8 @@ ptmalloc_init (void)
|
|||||||
#endif
|
#endif
|
||||||
if(s) {
|
if(s) {
|
||||||
if(s[0]) mALLOPt(M_CHECK_ACTION, (int)(s[0] - '0'));
|
if(s[0]) mALLOPt(M_CHECK_ACTION, (int)(s[0] - '0'));
|
||||||
__malloc_check_init();
|
if (check_action != 0)
|
||||||
|
__malloc_check_init();
|
||||||
}
|
}
|
||||||
if(__malloc_initialize_hook != NULL)
|
if(__malloc_initialize_hook != NULL)
|
||||||
(*__malloc_initialize_hook)();
|
(*__malloc_initialize_hook)();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user