diff options
author | Ulrich Drepper <drepper@redhat.com> | 2006-08-21 19:44:56 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2006-08-21 19:44:56 +0000 |
commit | 3997b7c41343589195893e88607798db44278d09 (patch) | |
tree | b83489c367ce030c20b4872e730480ba11655c79 /malloc/malloc.c | |
parent | 2b34af01c389f5295a0e7e2b3b1b2a2c41567b02 (diff) | |
download | glibc-3997b7c41343589195893e88607798db44278d09.tar.gz glibc-3997b7c41343589195893e88607798db44278d09.tar.xz glibc-3997b7c41343589195893e88607798db44278d09.zip |
[BZ #3040]
2006-08-21 Ulrich Drepper <drepper@redhat.com> [BZ #3040] * sysdeps/unix/sysv/linux/openat.c: Fix compilation if __ASSUME_ATFCTS is defined.
Diffstat (limited to 'malloc/malloc.c')
-rw-r--r-- | malloc/malloc.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/malloc/malloc.c b/malloc/malloc.c index 3f4ddcd7f7..b1f813efbe 100644 --- a/malloc/malloc.c +++ b/malloc/malloc.c @@ -4147,17 +4147,17 @@ _int_malloc(mstate av, size_t bytes) } } - if (size >= nb) - any_larger = true; -#define MAX_ITERS 10000 - if (++iters == MAX_ITERS) - break; - mark_bin(av, victim_index); victim->bk = bck; victim->fd = fwd; fwd->bk = victim; bck->fd = victim; + + if (size >= nb) + any_larger = true; +#define MAX_ITERS 10000 + if (++iters >= MAX_ITERS) + break; } /* |