mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-08 18:30:18 +00:00
Use fastbin macro everywhere.
This commit is contained in:
parent
98727dbea2
commit
9798346413
@ -1,5 +1,8 @@
|
||||
2010-12-25 Ulrich Drepper <drepper@gmail.com>
|
||||
|
||||
[BZ #12207]
|
||||
* malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
|
||||
|
||||
[BZ #12204]
|
||||
* string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
|
||||
* sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
|
||||
|
@ -2831,7 +2831,7 @@ static void do_check_malloc_state(mstate av)
|
||||
max_fast_bin = fastbin_index(get_max_fast ());
|
||||
|
||||
for (i = 0; i < NFASTBINS; ++i) {
|
||||
p = av->fastbins[i];
|
||||
p = fastbin (av, i);
|
||||
|
||||
/* The following test can only be performed for the main arena.
|
||||
While mallopt calls malloc_consolidate to get rid of all fast
|
||||
|
Loading…
Reference in New Issue
Block a user