From 7d693fced7af77e31f49dc98fb2435a9cf0586a2 Mon Sep 17 00:00:00 2001 From: itojun Date: Tue, 11 Jun 2002 21:56:55 +0000 Subject: address PR 17220 (portability issues on 64bit arch) --- benchmarks/ttcp/distinfo | 4 ++-- benchmarks/ttcp/patches/patch-ab | 15 ++++++++++++--- 2 files changed, 14 insertions(+), 5 deletions(-) (limited to 'benchmarks/ttcp') diff --git a/benchmarks/ttcp/distinfo b/benchmarks/ttcp/distinfo index 245ccaa5259..76af1b5bfcd 100644 --- a/benchmarks/ttcp/distinfo +++ b/benchmarks/ttcp/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.3 2002/03/26 16:30:03 abs Exp $ +$NetBSD: distinfo,v 1.4 2002/06/11 21:56:55 itojun Exp $ SHA1 (ttcp.tar.Z) = 33a60af208eff3dc9ae745060f44b24c4e74aa7e Size (ttcp.tar.Z) = 18163 bytes SHA1 (patch-aa) = a9717aa9fd5f8cdff1a39c9b7d6ab17abbe399ad -SHA1 (patch-ab) = 433b6665948d12155bc0e9fad0ffc9207b18294b +SHA1 (patch-ab) = 8ee4942958765029f50a0b87e45be1f5ca4c56e2 diff --git a/benchmarks/ttcp/patches/patch-ab b/benchmarks/ttcp/patches/patch-ab index 1e6d8907efc..b20c56f88a8 100644 --- a/benchmarks/ttcp/patches/patch-ab +++ b/benchmarks/ttcp/patches/patch-ab @@ -1,7 +1,7 @@ -$NetBSD: patch-ab,v 1.2 2002/03/26 16:30:04 abs Exp $ +$NetBSD: patch-ab,v 1.3 2002/06/11 21:56:55 itojun Exp $ ---- ttcp.c.orig Thu Feb 27 21:30:23 1997 -+++ ttcp.c +--- ttcp.c.orig Fri Feb 28 06:30:23 1997 ++++ ttcp.c Wed Jun 12 06:54:28 2002 @@ -55,6 +55,7 @@ #include #include @@ -10,6 +10,15 @@ $NetBSD: patch-ab,v 1.2 2002/03/26 16:30:04 abs Exp $ #if defined(SYSV) #include +@@ -151,7 +152,7 @@ + int argc; + char **argv; + { +- unsigned long addr_tmp; ++ in_addr_t addr_tmp; + int c; + + if (argc < 2) goto usage; @@ -263,7 +264,7 @@ if ( (buf = (char *)malloc(buflen+bufalign)) == (char *)NULL) err("malloc"); -- cgit v1.2.3