This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
In FreeBSD disable floating point exception handlers.
authorSean Davis <dive@ender.com>
Thu, 24 Feb 2000 15:54:24 +0000 (07:54 -0800)
committerJarkko Hietaniemi <jhi@iki.fi>
Thu, 24 Feb 2000 23:57:49 +0000 (23:57 +0000)
As the comment says, this should be done in the hints.
To: "M.J.T. Guy" <mjtg@cus.cam.ac.uk>
cc: perl5-porters@perl.org
Subject: Re: [ID 20000216.004] apparent bug on freebsd systems when calculating large numbers
Message-ID: <Pine.LNX.4.04.10002241552080.448-100000@dragon.ender.com>

p4raw-id: //depot/cfgperl@5248

unixish.h

index 492b24a..c9a5495 100644 (file)
--- a/unixish.h
+++ b/unixish.h
 
 /* these should be set in a hint file, not here */
 #ifndef PERL_SYS_INIT
-#ifdef PERL_SCO5
+#if defined(PERL_SCO5) || defined(__FreeBSD__)
 #  define PERL_SYS_INIT(c,v)   fpsetmask(0); MALLOC_INIT
 #else
 #  ifdef POSIX_BC