From: Rich Felker Date: Sun, 18 Nov 2012 21:10:20 +0000 (-0500) Subject: fix feholdexcept -- it needs to clear exceptions after saving environment X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=commitdiff_plain;h=0b52bf5c78435f3af4e0c1cbbe4177861e599847 fix feholdexcept -- it needs to clear exceptions after saving environment --- 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; }