aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-01-31 08:11:53 +0000
committerUlrich Drepper <drepper@redhat.com>2000-01-31 08:11:53 +0000
commit8a94dfe44e23e89b366019c9b4cad1a3cc1d853b (patch)
treea6b4a42d962fa7a4904d293784f6531c77c1b552 /sysdeps/generic
parent4d76a0ec18ca374bbb5a2cf15b80515e246a135b (diff)
downloadglibc-8a94dfe44e23e89b366019c9b4cad1a3cc1d853b.tar
glibc-8a94dfe44e23e89b366019c9b4cad1a3cc1d853b.tar.gz
glibc-8a94dfe44e23e89b366019c9b4cad1a3cc1d853b.tar.bz2
glibc-8a94dfe44e23e89b366019c9b4cad1a3cc1d853b.zip
Update.
* sysdeps/alpha/fpu/feholdexcpt.c: Correct return value according to the standard. * sysdeps/alpha/fpu/fesetround.c: Likewise. * sysdeps/arm/fpu/feholdexcpt.c: Likewise. * sysdeps/arm/fpu/fesetround.c: Likewise. * sysdeps/generic/feholdexcpt.c: Likewise. * sysdeps/generic/fesetround.c: Likewise. * sysdeps/i386/fpu/feholdexcpt.c: Likewise. * sysdeps/i386/fpu/fesetround.c: Likewise. * sysdeps/m68k/fpu/feholdexcpt.c: Likewise. * sysdeps/m68k/fpu/fesetround.c: Likewise. * sysdeps/mips/fpu/fesetround.c: Likewise. * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise. * sysdeps/powerpc/fpu/fesetround.c: Likewise. * sysdeps/sparc/fpu/feholdexcpt.c: Likewise. * sysdeps/sparc/fpu/fesetround.c: Likewise. Patch by Miloslav Trmac <mitr@volny.cz>.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/feholdexcpt.c2
-rw-r--r--sysdeps/generic/fesetround.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/generic/feholdexcpt.c b/sysdeps/generic/feholdexcpt.c
index 5cc9b38a28..89141ea711 100644
--- a/sysdeps/generic/feholdexcpt.c
+++ b/sysdeps/generic/feholdexcpt.c
@@ -23,7 +23,7 @@
int
feholdexcept (fenv_t *envp)
{
- return 0; /* Signal failure. */
+ return 1; /* Signal failure. */
}
stub_warning (feholdexcept)
#include <stub-tag.h>
diff --git a/sysdeps/generic/fesetround.c b/sysdeps/generic/fesetround.c
index cd77a76fcf..b64e8463b1 100644
--- a/sysdeps/generic/fesetround.c
+++ b/sysdeps/generic/fesetround.c
@@ -23,7 +23,7 @@
int
fesetround (int round)
{
- return 0; /* Signal we are unable to set the direction. */
+ return 1; /* Signal we are unable to set the direction. */
}
stub_warning (fesetround)
#include <stub-tag.h>