summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authorjtb <jtb@pkgsrc.org>2002-06-27 00:35:31 +0000
committerjtb <jtb@pkgsrc.org>2002-06-27 00:35:31 +0000
commit34f40541eb1926fa15349a9d4ac0b39832f693f3 (patch)
tree555d87ba06ed6647ed17500ae0e25b5041ea3e56 /math
parente5981ddff6bd7429cbf64cf68f587a39a7de18f2 (diff)
downloadpkgsrc-34f40541eb1926fa15349a9d4ac0b39832f693f3.tar.gz
Don't call the times() function with the argument NULL.
Diffstat (limited to 'math')
-rw-r--r--math/euler/patches/patch-aa4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/euler/patches/patch-aa b/math/euler/patches/patch-aa
index b303928e6ed..4dce05fe2bf 100644
--- a/math/euler/patches/patch-aa
+++ b/math/euler/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.1.1.1 2002/05/04 01:49:11 jtb Exp $
+$NetBSD: patch-aa,v 1.2 2002/06/27 00:35:31 jtb Exp $
--- main.c.orig Wed Feb 20 08:59:59 2002
+++ main.c Thu Apr 25 10:42:10 2002
@@ -7,7 +7,7 @@ $NetBSD: patch-aa,v 1.1.1.1 2002/05/04 01:49:11 jtb Exp $
return (t.tv_sec+t.tv_nsec/1000000000.0);
#else
- return ((double)(times(NULL)))/CLK_TCK;
-+ return (double)(clock());
++ return ((double)(times()))/CLK_TCK;
#endif
}