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.26-291-gf3a129b


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  f3a129b872a3d8c5edb3bd8b4b2b26c52f449160 (commit)
      from  b38042f51430974642616a60afbbf96fd0b98659 (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=f3a129b872a3d8c5edb3bd8b4b2b26c52f449160

commit f3a129b872a3d8c5edb3bd8b4b2b26c52f449160
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Mon Sep 4 16:27:16 2017 +0000

    Fix bits/math-finite.h exp10 condition (bug 22082).
    
    bits/math-finite.h handles exp10 if __USE_GNU.  It should use the
    condition __GLIBC_USE (IEC_60559_FUNCS_EXT), as in bits/mathcalls.h.
    This patch fixes the condition.
    
    Tested for x86_64.
    
    	[BZ #22082]
    	* math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
    	(IEC_60559_FUNCS_EXT)], not [__USE_GNU].

diff --git a/ChangeLog b/ChangeLog
index a9fb242..8313a86 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-09-04  Joseph Myers  <joseph@codesourcery.com>
+
+	[BZ #22082]
+	* math/bits/math-finite.h (exp10): Redirect if [__GLIBC_USE
+	(IEC_60559_FUNCS_EXT)], not [__USE_GNU].
+
 2017-09-04  Florian Weimer  <fweimer@redhat.com>
 
 	* math/math.h: Issue warning if log is defined.
diff --git a/math/bits/math-finite.h b/math/bits/math-finite.h
index 8113db2..98dbe55 100644
--- a/math/bits/math-finite.h
+++ b/math/bits/math-finite.h
@@ -67,7 +67,7 @@ __MATH_REDIRCALL (cosh, , (_Mdouble_));
 /* exp.  */
 __MATH_REDIRCALL (exp, , (_Mdouble_));
 
-#ifdef __USE_GNU
+#if __GLIBC_USE (IEC_60559_FUNCS_EXT)
 /* exp10.  */
 __MATH_REDIRCALL (exp10, , (_Mdouble_));
 #endif

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

Summary of changes:
 ChangeLog               |    6 ++++++
 math/bits/math-finite.h |    2 +-
 2 files changed, 7 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]