mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-24 17:51:17 +03:00
Avoid spurious failures from <fenv.h> fallback functions (bug 15654).
This commit is contained in:
@@ -22,7 +22,10 @@
|
||||
int
|
||||
feenableexcept (int excepts)
|
||||
{
|
||||
/* Signal failure. */
|
||||
return -1;
|
||||
/* Signal failure if any exception traps are to be enabled. */
|
||||
if (excepts != 0)
|
||||
return -1;
|
||||
else
|
||||
return 0;
|
||||
}
|
||||
stub_warning (feenableexcept)
|
||||
|
||||
Reference in New Issue
Block a user