diff options
author | simonb <simonb> | 2001-07-05 07:25:17 +0000 |
---|---|---|
committer | simonb <simonb> | 2001-07-05 07:25:17 +0000 |
commit | 4baa1e8c391f7f893c970b234c352ddbd0010a88 (patch) | |
tree | 8c719d0bde871efc9c889abe476b6b61af7aea55 /benchmarks/lmbench | |
parent | 55fd1977f5dc54e8c4534764e4ff775d2bdf7a6c (diff) | |
download | pkgsrc-4baa1e8c391f7f893c970b234c352ddbd0010a88.tar.gz |
Make lat_rpc.c at least not dump core when run. Now it's very flakey
(needs to be run multiple times sometimes) but better than before...
Diffstat (limited to 'benchmarks/lmbench')
-rw-r--r-- | benchmarks/lmbench/distinfo | 4 | ||||
-rw-r--r-- | benchmarks/lmbench/patches/patch-ad | 25 |
2 files changed, 24 insertions, 5 deletions
diff --git a/benchmarks/lmbench/distinfo b/benchmarks/lmbench/distinfo index 00f91f87b69..496781c600e 100644 --- a/benchmarks/lmbench/distinfo +++ b/benchmarks/lmbench/distinfo @@ -1,11 +1,11 @@ -$NetBSD: distinfo,v 1.2 2001/04/20 09:13:27 agc Exp $ +$NetBSD: distinfo,v 1.3 2001/07/05 07:25:17 simonb Exp $ SHA1 (lmbench-2alpha11.tgz) = 7480815b8f8d4000647db59eb6160e9dbac06490 Size (lmbench-2alpha11.tgz) = 464956 bytes SHA1 (patch-aa) = 97536e7dfab285e1a942c89882e8eca156cc346e SHA1 (patch-ab) = b25c659fd808535738591892c552b062bb7e7e8f SHA1 (patch-ac) = 2aa73fbf3119db95ca483f676bd3f3c2fd25c8f6 -SHA1 (patch-ad) = 5a7d8d55111761df2e3746ddf330339d5259c3ce +SHA1 (patch-ad) = a196e6a4734de9a0d698d38f1691b1146bda45a2 SHA1 (patch-ae) = 8784d2911529395e5a13c5dec5a89df5465145e9 SHA1 (patch-af) = 9390d4b6fa950beb0020b44ad520dd22a8a2178e SHA1 (patch-ag) = cf5d1f3cf24b9fb6ab4a1a84ad8a44fda858add4 diff --git a/benchmarks/lmbench/patches/patch-ad b/benchmarks/lmbench/patches/patch-ad index 6b61ab3cda6..c30da268d9a 100644 --- a/benchmarks/lmbench/patches/patch-ad +++ b/benchmarks/lmbench/patches/patch-ad @@ -1,6 +1,7 @@ -$NetBSD: patch-ad,v 1.1 1998/08/30 17:46:26 garbled Exp $ ---- src/lat_rpc.c.orig Sat Aug 29 12:59:45 1998 -+++ src/lat_rpc.c Sat Aug 29 13:00:08 1998 +$NetBSD: patch-ad,v 1.2 2001/07/05 07:25:17 simonb Exp $ + +--- src/lat_rpc.c.orig Sat Aug 1 05:55:18 1998 ++++ src/lat_rpc.c Thu Jul 5 13:18:49 2001 @@ -132,7 +132,9 @@ } @@ -11,3 +12,21 @@ $NetBSD: patch-ad,v 1.1 1998/08/30 17:46:26 garbled Exp $ bool_t pmap_unset(u_long prognum, u_long versnum); void +@@ -203,7 +205,7 @@ + return; + } + bzero((char *)&argument, sizeof(argument)); +- if (!svc_getargs(transp, (void *)(xdr_argument)(), (char*)&argument)) { ++ if (!svc_getargs(transp, xdr_argument, (char*)&argument)) { + svcerr_decode(transp); + return; + } +@@ -211,7 +213,7 @@ + if (result != NULL && !svc_sendreply(transp, (xdrproc_t)xdr_result, result)) { + svcerr_systemerr(transp); + } +- if (!svc_freeargs(transp, (void*)(xdr_argument)(), (char*)&argument)) { ++ if (!svc_freeargs(transp, xdr_argument, (char*)&argument)) { + fprintf(stderr, "unable to free arguments"); + exit(1); + } |