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-518-g758f1bf


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  758f1bfa2a1bccb52f1b3e97444a367d35aceaee (commit)
      from  7e16a5d1d19effc7b2775942f592520cfff03d92 (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=758f1bfa2a1bccb52f1b3e97444a367d35aceaee

commit 758f1bfa2a1bccb52f1b3e97444a367d35aceaee
Author: H.J. Lu <hjl.tools@gmail.com>
Date:   Wed Oct 4 14:31:16 2017 -0700

    test-math-iscanonical.cc: Return errors != 0
    
    Since not all non-zero error counts are errors, return errors != 0
    instead.
    
    	* math/test-math-iscanonical.cc (do_test): Return errors != 0.

diff --git a/ChangeLog b/ChangeLog
index 4d94f13..c1fd8a7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2017-10-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+	* math/test-math-iscanonical.cc (do_test): Return errors != 0.
+
 2017-10-04  Joseph Myers  <joseph@codesourcery.com>
 
 	* sysdeps/ieee754/dbl-64/s_fma.c: Include <libm-alias-double.h>.
diff --git a/math/test-math-iscanonical.cc b/math/test-math-iscanonical.cc
index 8ced7a7..4cfb1c5 100644
--- a/math/test-math-iscanonical.cc
+++ b/math/test-math-iscanonical.cc
@@ -42,7 +42,7 @@ do_test (void)
 #if __HAVE_DISTINCT_FLOAT128
   check_type<_Float128> ();
 #endif
-  return errors;
+  return errors != 0;
 }
 
 #include <support/test-driver.c>

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

Summary of changes:
 ChangeLog                     |    4 ++++
 math/test-math-iscanonical.cc |    2 +-
 2 files changed, 5 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]