1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/sysutils/gtop/files/patch-ad
1999-01-01 06:44:36 +00:00

32 lines
546 B
Plaintext

--- 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;
}