a146f9f784
PR: ports/16837, ports/16913 Reviewed by: maintainers
21 lines
467 B
Plaintext
21 lines
467 B
Plaintext
--- libgimp/gimp.c.orig Mon Dec 6 14:44:39 1999
|
|
+++ libgimp/gimp.c Sat Feb 19 13:51:36 2000
|
|
@@ -26,6 +26,7 @@
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <sys/types.h>
|
|
+#include <floatingpoint.h>
|
|
#ifdef HAVE_SYS_TIME_H
|
|
#include <sys/time.h>
|
|
#endif
|
|
@@ -186,6 +187,9 @@
|
|
}
|
|
|
|
progname = argv[0];
|
|
+
|
|
+ /* Ignore floating point exceptions */
|
|
+ fpsetmask(0);
|
|
|
|
#ifndef G_OS_WIN32
|
|
/* No use catching these on Win32, the user won't get any meaningful
|