GNU C Library master sources branch, master, updated. glibc-2.14-117-g8991e13

drepper@sourceware.org drepper@sourceware.org
Wed Jul 20 00:18:00 GMT 2011


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  8991e135f7cc0f9e9c11860e570516f5d5b581dc (commit)
      from  b902330ca8abb08c2114aa9636c77ac0553257f9 (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=8991e135f7cc0f9e9c11860e570516f5d5b581dc

commit 8991e135f7cc0f9e9c11860e570516f5d5b581dc
Author: Marek Polacek <mpolacek@redhat.com>
Date:   Tue Jul 19 20:17:51 2011 -0400

    elf/cache.c: Remove unnecessary condition

diff --git a/ChangeLog b/ChangeLog
index e24f33e..04c72c1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
 
+	* elf/cache.c (load_aux_cache): Remove unnecessary condition of
+	"aux_cache->nlibs < 0".
+
 	* nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
 	in the reload-count case.
 
diff --git a/elf/cache.c b/elf/cache.c
index 0988593..393b4e5 100644
--- a/elf/cache.c
+++ b/elf/cache.c
@@ -675,7 +675,6 @@ load_aux_cache (const char *aux_cache_name)
   if (aux_cache == MAP_FAILED
       || aux_cache_size < sizeof (struct aux_cache_file)
       || memcmp (aux_cache->magic, AUX_CACHEMAGIC, sizeof AUX_CACHEMAGIC - 1)
-      || aux_cache->nlibs < 0
       || aux_cache->nlibs >= aux_cache_size)
     {
       close (fd);

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

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


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



More information about the Glibc-cvs mailing list