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