httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@locus.apache.org
Subject cvs commit: apache-1.3/src/support ab.c
Date Mon, 28 Feb 2000 17:47:40 GMT
rse         00/02/28 09:47:40

  Modified:    src      CHANGES
               src/support ab.c
  Log:
  Make ab compile again as a stand-alone tool (-DNO_APACHE_INCLUDES)
  and fix a typo in the usage page.
  
  Revision  Changes    Path
  1.1518    +4 -0      apache-1.3/src/CHANGES
  
  Index: CHANGES
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/CHANGES,v
  retrieving revision 1.1517
  retrieving revision 1.1518
  diff -u -r1.1517 -r1.1518
  --- CHANGES	2000/02/28 13:42:22	1.1517
  +++ CHANGES	2000/02/28 17:47:38	1.1518
  @@ -1,5 +1,9 @@
   Changes with Apache 1.3.13
   
  +  *) Make ApacheBench (ab) compile again stand-alone under 
  +     -DNO_APACHE_INCLUDES.
  +     [Ralf S. Engelschall]
  +
     *) The ServerTokens directive now accepts the 'ProductOnly' keyword,
        which results in the display of just 'Apache' with no version
        information.  Additional product tokens are still only visible
  
  
  
  1.39      +5 -3      apache-1.3/src/support/ab.c
  
  Index: ab.c
  ===================================================================
  RCS file: /home/cvs/apache-1.3/src/support/ab.c,v
  retrieving revision 1.38
  retrieving revision 1.39
  diff -u -r1.38 -r1.39
  --- ab.c	2000/02/05 09:50:54	1.38
  +++ ab.c	2000/02/28 17:47:39	1.39
  @@ -119,6 +119,8 @@
   #include <errno.h>
   #include <sys/ioctl.h>
   #include <string.h>
  +#include <sys/types.h>
  +#include <sys/uio.h>
   
   #define ap_select       select
   #else				/* (!)NO_APACHE_INCLUDES */
  @@ -884,14 +886,14 @@
   static void copyright(void)
   {
       if (!use_html) {
  -	printf("This is ApacheBench, Version %s\n", VERSION " <$Revision: 1.38 $> apache-1.3");
  +	printf("This is ApacheBench, Version %s\n", VERSION " <$Revision: 1.39 $> apache-1.3");
   	printf("Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/\n");
   	printf("Copyright (c) 1998-1999 The Apache Group, http://www.apache.org/\n");
   	printf("\n");
       }
       else {
   	printf("<p>\n");
  -	printf(" This is ApacheBench, Version %s <i>&lt;%s&gt;</i> apache-1.3<br>\n",
VERSION, "$Revision: 1.38 $");
  +	printf(" This is ApacheBench, Version %s <i>&lt;%s&gt;</i> apache-1.3<br>\n",
VERSION, "$Revision: 1.39 $");
   	printf(" Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/<br>\n");
   	printf(" Copyright (c) 1998-1999 The Apache Group, http://www.apache.org/<br>\n");
   	printf("</p>\n<p>\n");
  @@ -914,7 +916,7 @@
       fprintf(stderr, "    -x attributes   String to insert as table attributes\n");
       fprintf(stderr, "    -y attributes   String to insert as tr attributes\n");
       fprintf(stderr, "    -z attributes   String to insert as td or th attributes\n");
  -    fprintf(stderr, "    -C attribute    Add cookie, eg. 'Apache=1234. (repeatable)\n");
  +    fprintf(stderr, "    -C attribute    Add cookie, eg. 'Apache=1234' (repeatable)\n");
       fprintf(stderr, "    -H attribute    Add Arbitrary header line, eg. 'Accept-Encoding:
zop'\n");
       fprintf(stderr, "                    Inserted after all normal header lines. (repeatable)\n");
       fprintf(stderr, "    -A attribute    Add Basic WWW Authentication, the attributes\n");
  
  
  

Mime
View raw message