Message ID | alpine.DEB.2.20.1701120153030.27294@digraph.polyomino.org.uk |
---|---|
State | New |
Headers | show |
diff --git a/math/fgetexcptflg.c b/math/fgetexcptflg.c index 8e16250..95a9217 100644 --- a/math/fgetexcptflg.c +++ b/math/fgetexcptflg.c @@ -24,6 +24,7 @@ int __fegetexceptflag (fexcept_t *flagp, int excepts) { /* Nothing to do. */ + *flagp = 0; return 0; } #if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_2)