1998-06-07 03:58:40 +00:00
|
|
|
--- app/main.c.orig Sat May 30 15:32:13 1998
|
|
|
|
+++ app/main.c Sun Jun 7 10:08:19 1998
|
1998-05-19 03:16:48 +00:00
|
|
|
@@ -16,6 +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>
|
1998-06-07 03:58:40 +00:00
|
|
|
@@ -81,10 +82,15 @@
|
1998-04-29 21:02:00 +00:00
|
|
|
int i, j;
|
|
|
|
gchar *display_name, *display_env;
|
|
|
|
|
|
|
|
+#define ATEXIT(proc) (atexit (proc))
|
|
|
|
+
|
|
|
|
ATEXIT (g_mem_profile);
|
|
|
|
|
|
|
|
/* Initialize variables */
|
1998-05-19 03:16:48 +00:00
|
|
|
prog_name = argv[0];
|
|
|
|
+
|
|
|
|
+ /* Ignore floating point exceptions */
|
|
|
|
+ fpsetmask(0);
|
|
|
|
|
|
|
|
/* Initialize Gtk toolkit */
|
|
|
|
gtk_set_locale ();
|