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-1113-gc8924f1


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  c8924f1ff22cb78abc9bb950c3b23d8483ac7bba (commit)
      from  da09e6fa2f8194fbdd82281195145aec195144dc (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=c8924f1ff22cb78abc9bb950c3b23d8483ac7bba

commit c8924f1ff22cb78abc9bb950c3b23d8483ac7bba
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Fri Jan 12 00:12:57 2018 +0000

    Fix s390 linknamespace fallout of bug 22702 patch.
    
    My fix for bug 22702 introduced linknamespace test failures on
    s390x-linux-gnu and s390-linux-gnu because it made remainder call
    __feholdexcept, and the s390 __feholdexcept calls fegetenv, and
    remainder is in Unix98 and XPG4.2 but fegetenv isn't.  This patch
    makes __feholdexcept call __fegetenv instead to avoid that namespace
    issue.
    
    Tested (compilation) with build-many-glibcs.py for s390x-linux-gnu,
    where it resolves the test failures.
    
    	* sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
    	instead of fegetenv.

diff --git a/ChangeLog b/ChangeLog
index f5147a8..7dea263 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2018-01-12  Joseph Myers  <joseph@codesourcery.com>
+
+	* sysdeps/s390/fpu/feholdexcpt.c (__feholdexcept): Call __fegetenv
+	instead of fegetenv.
+
 2018-01-11  Joseph Myers  <joseph@codesourcery.com>
 
 	[BZ #22702]
diff --git a/sysdeps/s390/fpu/feholdexcpt.c b/sysdeps/s390/fpu/feholdexcpt.c
index 21bcbd7..5daee56 100644
--- a/sysdeps/s390/fpu/feholdexcpt.c
+++ b/sysdeps/s390/fpu/feholdexcpt.c
@@ -24,7 +24,7 @@ int __feholdexcept (fenv_t *envp)
 {
   fexcept_t fpc;
   /* Store the environment.  */
-  fegetenv (envp);
+  __fegetenv (envp);
   /* Clear the current sticky bits as more than one exception
      may be generated.  */
   fpc = envp->__fpc & ~(FPC_FLAGS_MASK | FPC_DXC_MASK);

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

Summary of changes:
 ChangeLog                      |    5 +++++
 sysdeps/s390/fpu/feholdexcpt.c |    2 +-
 2 files changed, 6 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]