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.25-165-g1361e98


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  1361e98d5602e8b78cca019952d4a3438d68a239 (commit)
      from  ce39613205dc47ceaeea76710d49e7a483b503ab (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=1361e98d5602e8b78cca019952d4a3438d68a239

commit 1361e98d5602e8b78cca019952d4a3438d68a239
Author: Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
Date:   Fri Mar 31 09:31:10 2017 -0300

    Fix condition for inclusion of math-finite.h for long double
    
    The condition for declaration of long double functions in
    math-finite.h was #ifdef __MATH_DECLARE_LDOUBLE before the
    macroization of this file.  After the macroization, it was incorreclty
    changed to #if __MATH_DECLARE_LDOUBLE, which broke the build for arm.
    
    	* math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
    	* math/bits/math-finite.h: Likewise.

diff --git a/ChangeLog b/ChangeLog
index 3a393a0..b5d380e 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
+
+	* math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
+	* math/bits/math-finite.h: Likewise.
+
 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
 
 	[BZ #21289]
diff --git a/math/bits/math-finite.h b/math/bits/math-finite.h
index 59cd06b..29f2f2e 100644
--- a/math/bits/math-finite.h
+++ b/math/bits/math-finite.h
@@ -177,7 +177,7 @@ __MATH_REDIRCALL (remainder, , (_Mdouble_, _Mdouble_));
 #if (__MATH_DECLARING_DOUBLE \
      && (defined __USE_MISC \
 	 || (defined __USE_XOPEN_EXTENDED && !defined __USE_XOPEN2K8))) \
-    || (!__MATH_DECLARE_LDOUBLE && defined __USE_MISC)
+    || (!defined __MATH_DECLARE_LDOUBLE && defined __USE_MISC)
 /* scalb.  */
 __MATH_REDIRCALL (scalb, , (_Mdouble_, _Mdouble_));
 #endif
diff --git a/math/math.h b/math/math.h
index 0c19d45..cfaed0e 100644
--- a/math/math.h
+++ b/math/math.h
@@ -588,7 +588,7 @@ extern int matherr (struct exception *__exc);
 #  undef _MSUF_
 
 /* Include bits/math-finite.h for long double.  */
-#  if __MATH_DECLARE_LDOUBLE
+#  ifdef __MATH_DECLARE_LDOUBLE
 #   define _Mdouble_ long double
 #   define __MATH_DECLARING_DOUBLE 0
 #   define __MATH_DECLARING_LDOUBLE 1

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

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