diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-11-18 16:10:20 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-11-18 16:10:20 -0500 |
commit | 0b52bf5c78435f3af4e0c1cbbe4177861e599847 (patch) | |
tree | 9665cd5e4796eefd6051c8781805e598bbc31a22 | |
parent | 19b1a8453e9d329a16711900a84797c5f1333208 (diff) | |
download | musl-0b52bf5c78435f3af4e0c1cbbe4177861e599847.tar.gz musl-0b52bf5c78435f3af4e0c1cbbe4177861e599847.tar.bz2 musl-0b52bf5c78435f3af4e0c1cbbe4177861e599847.tar.xz musl-0b52bf5c78435f3af4e0c1cbbe4177861e599847.zip |
fix feholdexcept -- it needs to clear exceptions after saving environment
-rw-r--r-- | src/fenv/feholdexcept.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fenv/feholdexcept.c b/src/fenv/feholdexcept.c index 4c6da239..73ff1fad 100644 --- a/src/fenv/feholdexcept.c +++ b/src/fenv/feholdexcept.c @@ -3,5 +3,6 @@ int feholdexcept(fenv_t *envp) { fegetenv(envp); + feclearexcept(FE_ALL_EXCEPT); return 0; } |