DAST: Iperf - perry --at-- cs.waikato.ac.nz


>Date: Wed, 10 Nov 2004 20:26:35 -0600
>From: Apache <apache --at-- ncsa.uiuc.edu>
>To: perry --at-- cs.waikato.ac.nz
>Subject: DAST: Iperf - perry --at-- cs.waikato.ac.nz
>
>
>Contacting DAST re: Bug report about Iperf
>From: Perry Lorier <perry --at-- cs.waikato.ac.nz>
>
>Question/Comment:
>There is a bug in the ./configure script for iperf which 
>incorrectly fails to configure the 64bit support to the 
>application.  When combined with it correctly determining 
>the printf(3) format specifier, this corrupts it's output, 
>especially when used with the CSV format code.
>
>This patch fixes it:
>diff -ur iperf-2.0.1/configure.ac iperf-2.0.1.new/configure.ac
>--- iperf-2.0.1/configure.ac    2004-11-09 09:14:18.000000000 +1300
>+++ iperf-2.0.1.new/configure.ac        2004-11-11 14:46:02.000000000 +1300
> --at--  --at--  -78,16 +78,25  --at--  --at-- 
>
> dnl these intXX_t and u_intXX_t need to be defined to be the right size.
>
>+AC_CHECK_SIZEOF(char)
> AC_CHECK_SIZEOF(short)
> AC_CHECK_SIZEOF(int)
> AC_CHECK_SIZEOF(long)
> AC_CHECK_SIZEOF(long long)
>
>+AC_CHECK_SIZEOF(char)
> AC_CHECK_SIZEOF(unsigned short)
> AC_CHECK_SIZEOF(unsigned int)
> AC_CHECK_SIZEOF(unsigned long)
> AC_CHECK_SIZEOF(unsigned long long)
>
>+AH_TEMPLATE(HAVE_INT16_T)
>+AH_TEMPLATE(HAVE_INT32_T)
>+AH_TEMPLATE(HAVE_INT64_T)
>+AH_TEMPLATE(HAVE_U_INT16_T)
>+AH_TEMPLATE(HAVE_U_INT32_T)
>+AH_TEMPLATE(HAVE_U_INT64_T)
>+
> AH_TEMPLATE(int16_t)
> AH_TEMPLATE(int32_t)
> AH_TEMPLATE(int64_t)
>
>
>
--
Mitch Kutzko | mitch --at-- dast.nlanr.net | mitch --at-- ncsa.uiuc.edu | 217-333-1199
Project: http://dast.nlanr.net/  |  Personal: http://hobbes.ncsa.uiuc.edu/



Other Mailing lists | Author Index | Date Index | Subject Index | Thread Index