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.20-173-gc52ff39


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  c52ff39e8ee052e4a57676d65a27f09bd0a859ad (commit)
      from  2f5c1b000aaeb2c25b1df52453bba8de7f9453e2 (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://sourceware.org/git/gitweb.cgi?p=glibc.git;a=commitdiff;h=c52ff39e8ee052e4a57676d65a27f09bd0a859ad

commit c52ff39e8ee052e4a57676d65a27f09bd0a859ad
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed Nov 12 22:31:38 2014 +0000

    Fix malloc_info namespace (bug 17570).
    
    malloc_info is defined in the same file as malloc and free, but is not
    an ISO C function, so should be a weak symbol.  This patch makes it
    so.
    
    Tested for x86_64 (testsuite, and that disassembly of installed shared
    libraries is unchanged by the patch).
    
    	[BZ #17570]
    	* malloc/malloc.c (malloc_info): Rename to __malloc_info and
    	define as weak alias of __malloc_info.

diff --git a/ChangeLog b/ChangeLog
index 42a3e82..b7ec0f1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
 
+	[BZ #17570]
+	* malloc/malloc.c (malloc_info): Rename to __malloc_info and
+	define as weak alias of __malloc_info.
+
 	[BZ #17584]
 	* dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
 	as weak alias of __rewinddir.  Don't use libc_hidden_def.
diff --git a/NEWS b/NEWS
index 63b0a86..5017517 100644
--- a/NEWS
+++ b/NEWS
@@ -11,7 +11,7 @@ Version 2.21
 
   6652, 12926, 14132, 14138, 14171, 15215, 15884, 17266, 17344, 17363,
   17370, 17371, 17411, 17460, 17475, 17485, 17501, 17506, 17508, 17522,
-  17555, 17583, 17584.
+  17555, 17570, 17583, 17584.
 
 * New locales: tu_IN, bh_IN.
 
diff --git a/malloc/malloc.c b/malloc/malloc.c
index 6cbe9f3..6bfb859 100644
--- a/malloc/malloc.c
+++ b/malloc/malloc.c
@@ -4993,7 +4993,7 @@ weak_alias (__posix_memalign, posix_memalign)
 
 
 int
-malloc_info (int options, FILE *fp)
+__malloc_info (int options, FILE *fp)
 {
   /* For now, at least.  */
   if (options != 0)
@@ -5166,6 +5166,7 @@ malloc_info (int options, FILE *fp)
 
   return 0;
 }
+weak_alias (__malloc_info, malloc_info)
 
 
 strong_alias (__libc_calloc, __calloc) weak_alias (__libc_calloc, calloc)

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

Summary of changes:
 ChangeLog       |    4 ++++
 NEWS            |    2 +-
 malloc/malloc.c |    3 ++-
 3 files changed, 7 insertions(+), 2 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]