From 03d2fe0829a1ffa3a5abb930fe6b803a1cc44161 Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Tue, 18 Sep 2012 21:35:04 -0400 Subject: [PATCH] Bug 789436 - Remove one more SIGFPE workaround for FreeBSD. r=sicking --- toolkit/xre/nsAppRunner.cpp | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/toolkit/xre/nsAppRunner.cpp b/toolkit/xre/nsAppRunner.cpp index f57de470cb2d..8c0702f13537 100644 --- a/toolkit/xre/nsAppRunner.cpp +++ b/toolkit/xre/nsAppRunner.cpp @@ -1388,11 +1388,6 @@ static int MSCRTReportHook( int aReportType, char *aMessage, int *oReturnValue) #endif -#if defined(FREEBSD) -// pick up fpsetmask prototype. -#include -#endif - static inline void DumpVersion() { @@ -4135,12 +4130,5 @@ SetupErrorHandling(const char* progname) // Unbuffer stdout, needed for tinderbox tests. 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 }