diff options
Diffstat (limited to 'benchmarks')
-rw-r--r-- | benchmarks/bytebench/distinfo | 3 | ||||
-rw-r--r-- | benchmarks/bytebench/patches/patch-af | 30 |
2 files changed, 32 insertions, 1 deletions
diff --git a/benchmarks/bytebench/distinfo b/benchmarks/bytebench/distinfo index 402b3dcecfd..22f0cab023e 100644 --- a/benchmarks/bytebench/distinfo +++ b/benchmarks/bytebench/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.3 2002/01/09 11:24:37 jlam Exp $ +$NetBSD: distinfo,v 1.4 2003/03/30 02:24:42 itohy Exp $ SHA1 (unixbench-4.1.0.tgz) = 0a43d9cf08869c0f81bde4647be6bcf76c064248 Size (unixbench-4.1.0.tgz) = 63075 bytes @@ -7,3 +7,4 @@ SHA1 (patch-ab) = b018ad36a3a72b16bb29e8049a7bfe172888b5b8 SHA1 (patch-ac) = ebfb09da84c96f8c6f48293c65a74dcf8a43cff5 SHA1 (patch-ad) = 3a1b788d9fa51fc168d59d8c87b1f476df2d5f41 SHA1 (patch-ae) = fbbce3deed7f0421034c1d57b66b1967ad8bddf1 +SHA1 (patch-af) = 3594f2cc39fb6ab9bd4266f294b5ec4297c0fdb7 diff --git a/benchmarks/bytebench/patches/patch-af b/benchmarks/bytebench/patches/patch-af new file mode 100644 index 00000000000..9094d0dcb34 --- /dev/null +++ b/benchmarks/bytebench/patches/patch-af @@ -0,0 +1,30 @@ +$NetBSD: patch-af,v 1.1 2003/03/30 02:24:43 itohy Exp $ + +Fix LP64 problem. + +--- src/execl.c.orig Thu Jul 29 06:46:58 1999 ++++ src/execl.c Sun Mar 30 00:35:24 2003 +@@ -47,6 +47,7 @@ + int duration; + char count_str[6], start_str[12], path_str[81], *dur_str; + time_t start_time, this_time; ++ unsigned long ul_time; + + #ifdef DEBUG + int count; +@@ -77,12 +78,13 @@ + duration = atoi(argv[2]); + dur_str = argv[2]; + iter = (unsigned long)atoi(argv[3]); /* where are we now ? */ +- sscanf(argv[4], "%lu", &start_time); ++ sscanf(argv[4], "%lu", &ul_time); ++ start_time = ul_time; + fullpath = argv[0]; + } + + sprintf(count_str, "%lu", ++iter); /* increment the execl counter */ +- sprintf(start_str, "%lu", start_time); ++ sprintf(start_str, "%lu", (unsigned long) start_time); + time(&this_time); + if (this_time - start_time >= duration) { /* time has run out */ + fprintf(stderr, "%lu loops\n", iter); |