blob: a1bb86bbfda61543da8e9ce36760021d5de515a9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- libgimp/gimp.c.orig Fri Sep 1 06:14:32 2006
+++ libgimp/gimp.c Sun Dec 31 15:56:37 2006
@@ -29,6 +29,7 @@
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
+#include <floatingpoint.h>
#ifdef HAVE_SYS_TIME_H
#include <sys/time.h>
@@ -291,6 +292,9 @@
gimp_env_init (TRUE);
progname = argv[0];
+
+ /* Ignore floating point exceptions */
+ fpsetmask(0);
basename = g_path_get_basename (progname);
|