Message-ID: <014b01c12a2e$801eaa00$da0a38c1@aximeis.fr> From: "Philippe Planchon" <Philippe.Planchon@AtosEuronext.net> Subject: tcptrace 6.0.0b4 on tru64 prints 'qu' instead of number of packets Date: Tue, 21 Aug 2001 12:46:14 +0200
On tru64, tcptrace prints "qu" instead of number of packets.
This change in tcptrace.h takes care of this problem.
96,110d95
< /* we want LONG LONG in some places */
< #if SIZEOF_UNSIGNED_LONG_LONG_INT >= 8
< #define HAVE_LONG_LONG
< typedef unsigned long long int u_llong;
< typedef long long int llong;
< /* Thanks to MacOSX, they use %qu to print unsigned long long ints */
< /* There is a test to see if we need to use %qu or %llu to print these variables */
< /* The test is located in configure.in */
< #ifdef USE_LLU
< #define FS_ULL "llu" /* For most systems use llu */
< #define FS_LL "lld" /* For most systems use ll */
< #else /* USE_LLU */
< #define FS_ULL "qu" /* MacOSX use qu */
< #define FS_LL "qd" /* MacOSX use qd */
< #endif /* USE_LLU */
111a97,118
> /* on tru64 long is 8 bytes */
> #if SIZEOF_UNSIGNED_LONG_INT >= 8
> # define HAVE_LONG_LONG
> typedef unsigned long int u_llong;
> typedef long int llong;
> # define FS_ULL "lu" /* No long long unsigned, so use lu */
> # define FS_LL "ld" /* No long long ints, so use ld */
> #elif SIZEOF_UNSIGNED_LONG_LONG_INT >= 8
> /* we want LONG LONG in some places */
> # define HAVE_LONG_LONG
> typedef unsigned long long int u_llong;
> typedef long long int llong;
> /* Thanks to MacOSX, they use %qu to print unsigned long long ints */
> /* There is a test to see if we need to use %qu or %llu to print these variables */
> /* The test is located in configure.in */
> # ifdef USE_LLU
> # define FS_ULL "llu" /* For most systems use llu */
> # define FS_LL "lld" /* For most systems use ll */
> # else /* USE_LLU */
> # define FS_ULL "qu" /* MacOSX use qu */
> # define FS_LL "qd" /* MacOSX use qd */
> # endif /* USE_LLU */
This archive was generated by hypermail 2b30 : 08/21/01 EDT