fix feholdexcept -- it needs to clear exceptions after saving environment

This commit is contained in:
Rich Felker committed 2012-11-18 16:10:20 -05:00
1 parent 19b1a8453e
commit 0b52bf5c78
1 file changed
+1
+1
View File
@@ -3,5 +3,6 @@
int feholdexcept(fenv_t *envp)
{
fegetenv(envp);
feclearexcept(FE_ALL_EXCEPT);
return 0;
}