Explorar o código

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

Rich Felker %!s(int64=12) %!d(string=hai) anos
pai
achega
0b52bf5c78
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/fenv/feholdexcept.c

+ 1 - 0
src/fenv/feholdexcept.c

@@ -3,5 +3,6 @@
 int feholdexcept(fenv_t *envp)
 {
 	fegetenv(envp);
+	feclearexcept(FE_ALL_EXCEPT);
 	return 0;
 }