1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00
2006-08-21  Ulrich Drepper  <drepper@redhat.com>
	[BZ #3040]
	* sysdeps/unix/sysv/linux/openat.c: Fix compilation if
	__ASSUME_ATFCTS is defined.
This commit is contained in:
Ulrich Drepper
2006-08-21 19:44:56 +00:00
parent 2b34af01c3
commit 3997b7c413
3 changed files with 15 additions and 7 deletions

View File

@ -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;
}
/*