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.22-505-g8fed865


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  8fed86556b7e162d2926f0ba6a573ed193ff882f (commit)
      from  3bfee8beb8caa939020d942dfa405a3d98975749 (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=8fed86556b7e162d2926f0ba6a573ed193ff882f

commit 8fed86556b7e162d2926f0ba6a573ed193ff882f
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Thu Nov 5 17:00:31 2015 +0000

    Don't redirect ldexp to scalbn in bits/math-finite.h (bug 19209).
    
    bits/math-finite.h maps ldexp functions to corresponding scalbn
    functions.  This is (a) a namespace bug for C90, which has ldexp but
    not scalbn, and (b) in any case useless, since the ldexp and scalbn
    functions have identical semantics (for floating-point types with
    radix 2), and since the fix for bug 6803 are actually aliases
    (presumably the mapping was based around the old bug of scalbn not
    setting errno).  This patch removes the bogus redirections.
    
    Tested for x86_64 and x86.
    
    	[BZ #19209]
    	* math/bits/math-finite.h (ldexp): Remove declaration.
    	(ldexpf): Likewise.
    	(ldexpl): Likewise.

diff --git a/ChangeLog b/ChangeLog
index 90a4bb1..bc2bc69 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
 
+	[BZ #19209]
+	* math/bits/math-finite.h (ldexp): Remove declaration.
+	(ldexpf): Likewise.
+	(ldexpl): Likewise.
+
 	[BZ #19205]
 	* math/bits/math-finite.h (acosf): Condition declaration on
 	[__USE_ISOC99].
diff --git a/NEWS b/NEWS
index 2867ac0..63ff0af 100644
--- a/NEWS
+++ b/NEWS
@@ -22,7 +22,7 @@ Version 2.23
   19003, 19007, 19012, 19016, 19018, 19032, 19046, 19048, 19049, 19050,
   19059, 19071, 19074, 19076, 19077, 19078, 19079, 19085, 19086, 19088,
   19094, 19095, 19124, 19125, 19129, 19134, 19137, 19156, 19174, 19181,
-  19189, 19201, 19205.
+  19189, 19201, 19205, 19209.
 
 * A defect in the malloc implementation, present since glibc 2.15 (2012) or
   glibc 2.10 via --enable-experimental-malloc (2009), could result in the
diff --git a/math/bits/math-finite.h b/math/bits/math-finite.h
index e5f11b2..5dd8406 100644
--- a/math/bits/math-finite.h
+++ b/math/bits/math-finite.h
@@ -413,15 +413,6 @@ extern long double __REDIRECT_NTH (log2l, (long double), __log2l_finite);
 # endif
 #endif
 
-/* ldexp.  */
-extern double __REDIRECT_NTH (ldexp, (double, int), scalbn);
-#ifdef __USE_ISOC99
-extern float __REDIRECT_NTH (ldexpf, (float, int), scalbnf);
-# ifdef __MATH_DECLARE_LDOUBLE
-extern long double __REDIRECT_NTH (ldexpl, (long double, int), scalbnl);
-# endif
-#endif
-
 /* pow.  */
 extern double __REDIRECT_NTH (pow, (double, double), __pow_finite);
 #ifdef __USE_ISOC99

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

Summary of changes:
 ChangeLog               |    5 +++++
 NEWS                    |    2 +-
 math/bits/math-finite.h |    9 ---------
 3 files changed, 6 insertions(+), 10 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]