httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@locus.apache.org
Subject cvs commit: apache-2.0/src/support logresolve.c ab.c
Date Thu, 02 Nov 2000 02:12:34 GMT
trawick     00/11/01 18:12:34

  Modified:    src/support logresolve.c ab.c
  Log:
  Get rid of some warnings on Solaris 8 by using APR's ctype macros:
  logresolve.c: In function `main':
  logresolve.c:327: warning: subscript has type `char'
  ab.c: In function `main':
  ab.c:1074: warning: subscript has type `char'
  ab.c:1087: warning: subscript has type `char'
  
  Revision  Changes    Path
  1.11      +1 -1      apache-2.0/src/support/logresolve.c
  
  Index: logresolve.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/support/logresolve.c,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- logresolve.c	2000/08/02 05:27:37	1.10
  +++ logresolve.c	2000/11/02 02:12:34	1.11
  @@ -324,7 +324,7 @@
   	if (line[0] == '\0')
   	    continue;
   	entries++;
  -	if (!isdigit(line[0])) {	/* short cut */
  +	if (!apr_isdigit(line[0])) {	/* short cut */
   	    puts(line);
   	    withname++;
   	    continue;
  
  
  
  1.30      +4 -4      apache-2.0/src/support/ab.c
  
  Index: ab.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/support/ab.c,v
  retrieving revision 1.29
  retrieving revision 1.30
  diff -u -r1.29 -r1.30
  --- ab.c	2000/10/15 11:46:22	1.29
  +++ ab.c	2000/11/02 02:12:34	1.30
  @@ -876,14 +876,14 @@
   static void copyright(void)
   {
       if (!use_html) {
  -        printf("This is ApacheBench, Version %s\n", AB_VERSION " <$Revision: 1.29 $>
apache-2.0");
  +        printf("This is ApacheBench, Version %s\n", AB_VERSION " <$Revision: 1.30 $>
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("<p>\n");
  -        printf(" This is ApacheBench, Version %s <i>&lt;%s&gt;</i>
apache-2.0<br>\n", AB_VERSION, "$Revision: 1.29 $");
  +        printf(" This is ApacheBench, Version %s <i>&lt;%s&gt;</i>
apache-2.0<br>\n", AB_VERSION, "$Revision: 1.30 $");
           printf(" Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/<br>\n");
           printf(" Copyright (c) 1998-2000 The Apache Software Foundation, http://www.apache.org/<br>\n");
           printf("</p>\n<p>\n");
  @@ -1071,7 +1071,7 @@
               /* assume username passwd already to be in colon separated form. 
                * Ready to be uu-encoded.
                */
  -            while(isspace(*optarg))
  +            while(apr_isspace(*optarg))
                   optarg++;
               l=ap_base64encode(tmp, optarg, strlen(optarg));
               tmp[l]='\0';
  @@ -1084,7 +1084,7 @@
               /*
                * assume username passwd already to be in colon separated form.
                */
  -            while(isspace(*optarg))
  +            while(apr_isspace(*optarg))
                   optarg++;
               l=ap_base64encode(tmp, optarg, strlen(optarg));
               tmp[l]='\0';
  
  
  

Mime
View raw message