summaryrefslogtreecommitdiffstats
path: root/graphics/gimp-app/files/patch-aa
blob: 411ac92c931bd9d05dd4f84cc4a2f168bdb22d91 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- app/main.c.orig Sun Oct  5 09:16:02 2003
+++ app/main.c  Mon Oct  6 12:14:34 2003
@@ -23,6 +23,7 @@
 #include <signal.h>
 #include <string.h>
 #include <sys/types.h>
+#include <floatingpoint.h>
 
 #ifdef HAVE_SYS_WAIT_H
 #include <sys/wait.h>
@@ -113,6 +114,9 @@
   /* Initialize variables */
 
   full_prog_name = argv[0];
+
+  /* Ignore floating point exceptions */
+  fpsetmask(0);
 
   /* Initialize i18n support */