summaryrefslogtreecommitdiff
path: root/benchmarks/flops
diff options
context:
space:
mode:
authoragc <agc>1998-10-22 13:01:25 +0000
committeragc <agc>1998-10-22 13:01:25 +0000
commit93d46a2ff3e025f198261714197951aa7658c087 (patch)
treecefb417d19746822a0d78376af3e5b3159c6c13d /benchmarks/flops
parentd49943b14984bd04f243d9b668999f9a47390983 (diff)
downloadpkgsrc-93d46a2ff3e025f198261714197951aa7658c087.tar.gz
Make the "flops" benchmark into a good citizen, and exit with the proper
value.
Diffstat (limited to 'benchmarks/flops')
-rw-r--r--benchmarks/flops/patches/patch-aa14
1 files changed, 14 insertions, 0 deletions
diff --git a/benchmarks/flops/patches/patch-aa b/benchmarks/flops/patches/patch-aa
new file mode 100644
index 00000000000..25b70bbf0c7
--- /dev/null
+++ b/benchmarks/flops/patches/patch-aa
@@ -0,0 +1,14 @@
+$NetBSD: patch-aa,v 1.1 1998/10/22 13:01:25 agc Exp $
+
+Exit with a 0.
+
+--- flops.c 1998/10/22 12:46:57 1.1
++++ flops.c 1998/10/22 12:47:42
+@@ -638,6 +638,7 @@
+ printf(" MFLOPS(3) = %10.4lf\n",T[32]);
+ printf(" MFLOPS(4) = %10.4lf\n\n",T[34]);
+
++ exit(0);
+ }
+
+ /*****************************************************/