This is the mail archive of the glibc-cvs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

GNU C Library master sources branch, master, updated. glibc-2.12-241-g9798346


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".

The branch, master has been updated
       via  9798346413d74dc9b3c64731807600b5ab9c1517 (commit)
      from  98727dbea212799beb7a15eeb9a21c8c5d100267 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://sources.redhat.com/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=9798346413d74dc9b3c64731807600b5ab9c1517

commit 9798346413d74dc9b3c64731807600b5ab9c1517
Author: Ulrich Drepper <drepper@gmail.com>
Date:   Sat Dec 25 14:15:42 2010 -0500

    Use fastbin macro everywhere.

diff --git a/ChangeLog b/ChangeLog
index c29dd53..66431b7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/malloc/malloc.c b/malloc/malloc.c
index f7770a3..3e06b87 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -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

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog       |    3 +++
 malloc/malloc.c |    2 +-
 2 files changed, 4 insertions(+), 1 deletions(-)


hooks/post-receive
-- 
GNU C Library master sources


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]