summaryrefslogtreecommitdiff
path: root/sysutils/gnome-system-monitor/files/patch-ad
blob: dd288606ce6ace4c51348546d3bb9c0683a3564e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
--- main.c.orig	Thu Dec 17 05:10:26 1998
+++ main.c	Fri Jan  1 13:55:58 1999
@@ -32,6 +32,8 @@
 
 #include <gnome.h>
 
+#include <floatingpoint.h>
+
 #include <glibtop/close.h>
 
 #include <assert.h>
@@ -149,6 +151,8 @@
 	poptContext ctx;
 	char **args;
 
+	fpsetmask (fpgetmask() & ~(FP_X_DZ|FP_X_INV));
+	
 	bindtextdomain (PACKAGE, GNOMELOCALEDIR);
 	textdomain (PACKAGE);
 
@@ -256,6 +260,9 @@
         gtk_main ();
 
 	glibtop_close ();
-        
+
+	fpresetsticky (FP_X_DZ|FP_X_INV);
+	fpsetmask (FP_X_DZ|FP_X_INV);
+
         return 0;
 }