GNU C Library master sources branch master updated. glibc-2.23-191-gb1b8f5d

stli@sourceware.org stli@sourceware.org
Thu Apr 14 10:32:00 GMT 2016


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  b1b8f5d89d06a994773e22ad4b7fe1036b37f8ab (commit)
      from  8a727af925be63aa6ea0f5f90e16751fd541626b (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=b1b8f5d89d06a994773e22ad4b7fe1036b37f8ab

commit b1b8f5d89d06a994773e22ad4b7fe1036b37f8ab
Author: Stefan Liebler <stli@linux.vnet.ibm.com>
Date:   Thu Apr 14 12:21:53 2016 +0200

    Fix strfmon_l: Use specified locale for number formatting [BZ #19633]
    
    The commit 985fc132f23dbb83de76c5af9e783ef1b5900148
    "strfmon_l: Use specified locale for number formatting [BZ #19633]"
    introduced an elf/check-abi-libc testfailure due to __printf_fp_l
    on architectures which use sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h.
    
    This patch uses libc_hidden_def instead of ldbl_hidden_def.
    The ldbl_strong_alias is removed due to the rename of ___printf_fp_l
    to __printf_fp_l.
    
    ChangeLog:
    
    	* stdio-common/printf_fp.c (__printf_fp_l):
    	Rename ___printf_fp_l to __printf_fp_l and
    	remove strong alias. Use libc_hidden_def instead
    	of ldbl_hidden_def macro.

diff --git a/ChangeLog b/ChangeLog
index b903820..09dd2d0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
+
+	* stdio-common/printf_fp.c (__printf_fp_l):
+	Rename ___printf_fp_l to __printf_fp_l and
+	remove strong alias. Use libc_hidden_def instead
+	of ldbl_hidden_def macro.
+
 2016-04-14  Florian Weimer  <fweimer@redhat.com>
 
 	Remove malloc hooks from fork handler.  They are no longer needed
diff --git a/stdio-common/printf_fp.c b/stdio-common/printf_fp.c
index baada9e..fdfe06b 100644
--- a/stdio-common/printf_fp.c
+++ b/stdio-common/printf_fp.c
@@ -209,9 +209,9 @@ hack_digit (struct hack_digit_param *p)
 }
 
 int
-___printf_fp_l (FILE *fp, locale_t loc,
-		const struct printf_info *info,
-		const void *const *args)
+__printf_fp_l (FILE *fp, locale_t loc,
+	       const struct printf_info *info,
+	       const void *const *args)
 {
   /* The floating-point value to output.  */
   union
@@ -1248,14 +1248,13 @@ ___printf_fp_l (FILE *fp, locale_t loc,
   }
   return done;
 }
-ldbl_hidden_def (___printf_fp_l, __printf_fp_l)
-ldbl_strong_alias (___printf_fp_l, __printf_fp_l)
+libc_hidden_def (__printf_fp_l)
 
 int
 ___printf_fp (FILE *fp, const struct printf_info *info,
 	      const void *const *args)
 {
-  return ___printf_fp_l (fp, _NL_CURRENT_LOCALE, info, args);
+  return __printf_fp_l (fp, _NL_CURRENT_LOCALE, info, args);
 }
 ldbl_hidden_def (___printf_fp, __printf_fp)
 ldbl_strong_alias (___printf_fp, __printf_fp)

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

Summary of changes:
 ChangeLog                |    7 +++++++
 stdio-common/printf_fp.c |   11 +++++------
 2 files changed, 12 insertions(+), 6 deletions(-)


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



More information about the Glibc-cvs mailing list