From: William A. Rowe Jr Date: Sat, 27 May 2000 23:49:07 +0000 (+0000) Subject: PR: X-Git-Tag: APACHE_2_0_ALPHA_4~62 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d82e6e26e3b4e0fba08830a29f4f960cd56912d6;p=apache PR: Obtained from: Submitted by: Reviewed by: One reason ap_config.h can be a problem. Change VERSION->AB_VERSION to avoid ap_config.h #undef. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@85320 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/support/ab.c b/support/ab.c index 6534698d5f..9c8c484bf8 100644 --- a/support/ab.c +++ b/support/ab.c @@ -98,7 +98,7 @@ * only an issue for loopback usage */ -#define VERSION "1.3c" +#define AB_VERSION "1.3c" /* -------------------------------------------------------------------- */ @@ -740,7 +740,7 @@ static void test(void) "%s" "\r\n", (posting == 0) ? "GET" : "HEAD", path, - VERSION, + AB_VERSION, keepalive ? "Connection: Keep-Alive\r\n" : "", cookie, auth, hostname, hdrs); } @@ -755,7 +755,7 @@ static void test(void) "%s" "\r\n", path, - VERSION, + AB_VERSION, keepalive ? "Connection: Keep-Alive\r\n" : "", cookie, auth, hostname, postlen, @@ -840,14 +840,14 @@ static void test(void) static void copyright(void) { if (!use_html) { - printf("This is ApacheBench, Version %s\n", VERSION " <$Revision: 1.16 $> apache-2.0"); + printf("This is ApacheBench, Version %s\n", AB_VERSION " <$Revision: 1.17 $> apache-2.0"); printf("Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/\n"); printf("Copyright (c) 1998-2000 The Apache Software Foundation, http://www.apache.org/\n"); printf("\n"); } else { printf("

\n"); - printf(" This is ApacheBench, Version %s <%s> apache-2.0
\n", VERSION, "$Revision: 1.16 $"); + printf(" This is ApacheBench, Version %s <%s> apache-2.0
\n", AB_VERSION, "$Revision: 1.17 $"); printf(" Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/
\n"); printf(" Copyright (c) 1998-2000 The Apache Software Foundation, http://www.apache.org/
\n"); printf("

\n

\n");