diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-06-20 19:10:44 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-06-20 19:10:44 +0000 |
commit | c91e0825251b4f57e8ce1d9d4673bee6e279e0cd (patch) | |
tree | 8ec4d95dc25e260084f23726cbb2cc202ed46e93 /math/feholdexcpt.c | |
parent | bfcacbdec0ea80b12b23f89572c29b87624e76ec (diff) | |
download | glibc-c91e0825251b4f57e8ce1d9d4673bee6e279e0cd.tar.gz |
Avoid spurious failures from <fenv.h> fallback functions (bug 15654).
Diffstat (limited to 'math/feholdexcpt.c')
-rw-r--r-- | math/feholdexcpt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/math/feholdexcpt.c b/math/feholdexcpt.c index b4e3260962..c830afbe6e 100644 --- a/math/feholdexcpt.c +++ b/math/feholdexcpt.c @@ -22,7 +22,8 @@ int feholdexcept (fenv_t *envp) { - return 1; /* Signal failure. */ + /* No exception traps to disable and no state to save. */ + return 0; } libm_hidden_def (feholdexcept) stub_warning (feholdexcept) |