mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Update.
2003-05-01 Ulrich Drepper <drepper@redhat.com> * malloc/malloc.c (mSTATs): Call ptmalloc_init if necessary. 2003-04-29 Andreas Schwab <schwab@suse.de> * string/test-strcat.c (do_one_test): Fix attribute name.
This commit is contained in:
@ -5090,6 +5090,8 @@ void mSTATs()
|
||||
long stat_lock_direct = 0, stat_lock_loop = 0, stat_lock_wait = 0;
|
||||
#endif
|
||||
|
||||
if(__malloc_initialized < 0)
|
||||
ptmalloc_init ();
|
||||
for (i=0, ar_ptr = &main_arena;; i++) {
|
||||
(void)mutex_lock(&ar_ptr->mutex);
|
||||
mi = mALLINFo(ar_ptr);
|
||||
|
Reference in New Issue
Block a user