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.9000-962-g4e0dca5


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  4e0dca54e945716a59f4e0b6b1f16415b3d4ed8e (commit)
      from  8df5d34720dd71e934545bade879e04697830757 (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=4e0dca54e945716a59f4e0b6b1f16415b3d4ed8e

commit 4e0dca54e945716a59f4e0b6b1f16415b3d4ed8e
Author: Szabolcs Nagy <szabolcs.nagy@arm.com>
Date:   Tue Dec 12 10:51:32 2017 +0000

    [BZ #22593] Fix nextafter and nexttoward declaration
    
    These functions set errno and thus the const attribute was wrong.
    
    	[BZ #22593]
    	* math/bits/mathcalls.h (nextafter): Remove const.
    	(nexttoward): Likewise.

diff --git a/ChangeLog b/ChangeLog
index 7a54848..be0ef11 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-12-12  Szabolcs Nagy  <szabolcs.nagy@arm.com>
+
+	[BZ #22593]
+	* math/bits/mathcalls.h (nextafter): Remove const.
+	(nexttoward): Likewise.
+
 2017-12-12  Joseph Myers  <joseph@codesourcery.com>
 
 	* configure.ac (--with-fp): Remove configure option.
diff --git a/math/bits/mathcalls.h b/math/bits/mathcalls.h
index d799b62..7de7193 100644
--- a/math/bits/mathcalls.h
+++ b/math/bits/mathcalls.h
@@ -256,9 +256,9 @@ __MATHCALL (lgamma,_r, (_Mdouble_, int *__signgamp));
 __MATHCALL (rint,, (_Mdouble_ __x));
 
 /* Return X + epsilon if X < Y, X - epsilon if X > Y.  */
-__MATHCALLX (nextafter,, (_Mdouble_ __x, _Mdouble_ __y), (__const__));
+__MATHCALL (nextafter,, (_Mdouble_ __x, _Mdouble_ __y));
 # if defined __USE_ISOC99 && !defined __LDBL_COMPAT && !__MATH_DECLARING_FLOATN
-__MATHCALLX (nexttoward,, (_Mdouble_ __x, long double __y), (__const__));
+__MATHCALL (nexttoward,, (_Mdouble_ __x, long double __y));
 # endif
 
 # if __GLIBC_USE (IEC_60559_BFP_EXT) || __MATH_DECLARING_FLOATN

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

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