mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-01 22:05:08 +00:00
2923a6b6be
PR: ports/14294 Submitted by: Brian Handy <handy@physics.montana.edu>
22 lines
474 B
Plaintext
22 lines
474 B
Plaintext
--- app/main.c.orig Wed Oct 6 13:55:38 1999
|
|
+++ app/main.c Tue Oct 12 13:23:44 1999
|
|
@@ -16,7 +16,7 @@
|
|
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
|
*/
|
|
#include "config.h"
|
|
-
|
|
+#include <floatingpoint.h>
|
|
#include <locale.h>
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
@@ -117,6 +117,9 @@
|
|
|
|
/* Initialize variables */
|
|
prog_name = argv[0];
|
|
+
|
|
+ /* Ignore floating point exceptions */
|
|
+ fpsetmask(0);
|
|
|
|
/* Initialize i18n support */
|
|
|