You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by tr...@locus.apache.org on 2000/12/01 22:49:31 UTC

cvs commit: apache-2.0/src/modules/standard mod_cern_meta.c mod_expires.c mod_headers.c mod_rewrite.c mod_speling.c mod_usertrack.c mod_vhost_alias.c

trawick     00/12/01 13:49:31

  Modified:    src/main util_filter.c
               src/modules/standard mod_cern_meta.c mod_expires.c
                        mod_headers.c mod_rewrite.c mod_speling.c
                        mod_usertrack.c mod_vhost_alias.c
  Log:
  include <strings.h> for the strcasecmp() and strncasecmp() prototypes;
  AIX doesn't have prototypes for these in string.h
  
  Revision  Changes    Path
  1.41      +4 -0      apache-2.0/src/main/util_filter.c
  
  Index: util_filter.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/main/util_filter.c,v
  retrieving revision 1.40
  retrieving revision 1.41
  diff -u -r1.40 -r1.41
  --- util_filter.c	2000/11/18 20:03:16	1.40
  +++ util_filter.c	2000/12/01 21:49:24	1.41
  @@ -56,6 +56,10 @@
   #include "http_log.h"
   #include "util_filter.h"
   
  +#ifdef HAVE_STRINGS_H
  +#include <strings.h>
  +#endif
  +
   /* ### make this visible for direct manipulation?
    * ### use a hash table
    */
  
  
  
  1.25      +3 -0      apache-2.0/src/modules/standard/mod_cern_meta.c
  
  Index: mod_cern_meta.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_cern_meta.c,v
  retrieving revision 1.24
  retrieving revision 1.25
  diff -u -r1.24 -r1.25
  --- mod_cern_meta.c	2000/11/23 13:03:37	1.24
  +++ mod_cern_meta.c	2000/12/01 21:49:25	1.25
  @@ -160,6 +160,9 @@
   #ifdef HAVE_SYS_TYPES_H
   #include <sys/types.h>
   #endif
  +#ifdef HAVE_STRINGS_H
  +#include <strings.h>
  +#endif
   
   #define DIR_CMD_PERMS OR_INDEXES
   
  
  
  
  1.24      +3 -0      apache-2.0/src/modules/standard/mod_expires.c
  
  Index: mod_expires.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_expires.c,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- mod_expires.c	2000/10/16 06:05:05	1.23
  +++ mod_expires.c	2000/12/01 21:49:25	1.24
  @@ -197,6 +197,9 @@
   #ifdef HAVE_CTYPE_H
   #include <ctype.h>
   #endif
  +#ifdef HAVE_STRINGS_H
  +#include <strings.h>
  +#endif
   #include "httpd.h"
   #include "http_config.h"
   #include "http_log.h"
  
  
  
  1.14      +4 -0      apache-2.0/src/modules/standard/mod_headers.c
  
  Index: mod_headers.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_headers.c,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- mod_headers.c	2000/10/16 06:05:06	1.13
  +++ mod_headers.c	2000/12/01 21:49:25	1.14
  @@ -107,6 +107,10 @@
   #include "http_config.h"
   #include "http_request.h"
   
  +#ifdef HAVE_STRINGS_H
  +#include <strings.h>
  +#endif
  +
   typedef enum {
       hdr_add = 'a',              /* add header (could mean multiple hdrs) */
       hdr_set = 's',              /* set (replace old value) */
  
  
  
  1.55      +3 -0      apache-2.0/src/modules/standard/mod_rewrite.c
  
  Index: mod_rewrite.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_rewrite.c,v
  retrieving revision 1.54
  retrieving revision 1.55
  diff -u -r1.54 -r1.55
  --- mod_rewrite.c	2000/11/27 16:40:13	1.54
  +++ mod_rewrite.c	2000/12/01 21:49:25	1.55
  @@ -122,6 +122,9 @@
   #ifdef HAVE_UNISTD_H
   #include <unistd.h>
   #endif
  +#ifdef HAVE_STRINGS_H
  +#include <strings.h>
  +#endif
   
   /*
   ** +-------------------------------------------------------+
  
  
  
  1.21      +4 -0      apache-2.0/src/modules/standard/mod_speling.c
  
  Index: mod_speling.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_speling.c,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- mod_speling.c	2000/10/16 06:05:07	1.20
  +++ mod_speling.c	2000/12/01 21:49:25	1.21
  @@ -66,6 +66,10 @@
   #include "apr_file_io.h"
   #include "apr_strings.h"
   
  +#ifdef HAVE_STRINGS_H
  +#include <strings.h>
  +#endif
  +
   /* mod_speling.c - by Alexei Kosut <ak...@organic.com> June, 1996
    *
    * This module is transparent, and simple. It attempts to correct
  
  
  
  1.22      +4 -0      apache-2.0/src/modules/standard/mod_usertrack.c
  
  Index: mod_usertrack.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_usertrack.c,v
  retrieving revision 1.21
  retrieving revision 1.22
  diff -u -r1.21 -r1.22
  --- mod_usertrack.c	2000/10/16 06:05:07	1.21
  +++ mod_usertrack.c	2000/12/01 21:49:26	1.22
  @@ -106,6 +106,10 @@
   #include "http_request.h"
   #include "apr_strings.h"
   
  +#ifdef HAVE_STRINGS_H
  +#include <strings.h>
  +#endif
  +
   module AP_MODULE_DECLARE_DATA usertrack_module;
   
   typedef struct {
  
  
  
  1.18      +3 -0      apache-2.0/src/modules/standard/mod_vhost_alias.c
  
  Index: mod_vhost_alias.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_vhost_alias.c,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- mod_vhost_alias.c	2000/11/15 02:54:48	1.17
  +++ mod_vhost_alias.c	2000/12/01 21:49:26	1.18
  @@ -82,6 +82,9 @@
   #include "http_core.h"
   #include "http_request.h"  /* for ap_hook_translate_name */
   
  +#ifdef HAVE_STRINGS_H
  +#include <strings.h>
  +#endif
   
   module AP_MODULE_DECLARE_DATA vhost_alias_module;