aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gimp-app/files/patch-aa
blob: 16de4cd974ff5fa9e0a1120969775e1968f16cbb (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- 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 */