зеркало из https://github.com/mozilla/gecko-dev.git
Bug 789436 - Remove one more SIGFPE workaround for FreeBSD. r=sicking
This commit is contained in:
Родитель
a2f6169aae
Коммит
03d2fe0829
|
@ -1388,11 +1388,6 @@ static int MSCRTReportHook( int aReportType, char *aMessage, int *oReturnValue)
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(FREEBSD)
|
|
||||||
// pick up fpsetmask prototype.
|
|
||||||
#include <ieeefp.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static inline void
|
static inline void
|
||||||
DumpVersion()
|
DumpVersion()
|
||||||
{
|
{
|
||||||
|
@ -4135,12 +4130,5 @@ SetupErrorHandling(const char* progname)
|
||||||
|
|
||||||
// Unbuffer stdout, needed for tinderbox tests.
|
// Unbuffer stdout, needed for tinderbox tests.
|
||||||
setbuf(stdout, 0);
|
setbuf(stdout, 0);
|
||||||
|
|
||||||
#if defined(FREEBSD)
|
|
||||||
// Disable all SIGFPE's on FreeBSD, as it has non-IEEE-conformant fp
|
|
||||||
// trap behavior that trips up on floating-point tests performed by
|
|
||||||
// the JS engine. See bugzilla bug 9967 details.
|
|
||||||
fpsetmask(0);
|
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче