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 htpasswd.c
Date Wed, 28 Jun 2000 14:33:51 GMT
trawick     00/06/28 07:33:50

  Modified:    src      configure.in
               src/lib/apr configure.in
               src/lib/apr/file_io/unix fileio.h
               src/lib/apr/lib apr_tables.c
               src/main http_config.c http_core.c http_log.c
                        http_protocol.c http_vhost.c util.c util_script.c
                        util_uri.c
               src/modules/mpm/dexter dexter.c
               src/modules/mpm/prefork prefork.c
               src/modules/standard mod_access.c mod_alias.c
                        mod_autoindex.c mod_cgi.c mod_imap.c mod_include.c
                        mod_log_config.c mod_negotiation.c mod_setenvif.c
                        mod_userdir.c
               src/os/unix unixd.c
               src/support htpasswd.c
  Log:
  Include strings.h for strcasecmp(), strncasecmp(), and bzero().
  Include time.h for time().
  
  This removes a bunch of compiler warnings with gcc -Wall on AIX.
  Submitted by:	Jeff Trawick, Victor Orlikowski
  
  Revision  Changes    Path
  1.69      +1 -0      apache-2.0/src/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/configure.in,v
  retrieving revision 1.68
  retrieving revision 1.69
  diff -u -r1.68 -r1.69
  --- configure.in	2000/06/27 23:12:23	1.68
  +++ configure.in	2000/06/28 14:33:27	1.69
  @@ -78,6 +78,7 @@
   netdb.h \
   pwd.h \
   grp.h \
  +strings.h
   )
   AC_HEADER_SYS_WAIT
   
  
  
  
  1.125     +1 -0      apache-2.0/src/lib/apr/configure.in
  
  Index: configure.in
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/configure.in,v
  retrieving revision 1.124
  retrieving revision 1.125
  diff -u -r1.124 -r1.125
  --- configure.in	2000/06/28 14:17:38	1.124
  +++ configure.in	2000/06/28 14:33:28	1.125
  @@ -257,6 +257,7 @@
   AC_CHECK_HEADERS(stdio.h, stdioh="1", stdioh"0")
   AC_CHECK_HEADERS(stdlib.h)
   AC_CHECK_HEADERS(string.h)
  +AC_CHECK_HEADERS(strings.h)
   AC_CHECK_HEADERS(sysapi.h)
   AC_CHECK_HEADERS(sysgtime.h)
   AC_CHECK_HEADERS(termios.h)
  
  
  
  1.24      +3 -0      apache-2.0/src/lib/apr/file_io/unix/fileio.h
  
  Index: fileio.h
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/unix/fileio.h,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- fileio.h	2000/06/22 00:35:55	1.23
  +++ fileio.h	2000/06/28 14:33:29	1.24
  @@ -75,6 +75,9 @@
   #if HAVE_STRING_H
   #include <string.h>
   #endif
  +#if HAVE_STRINGS_H
  +#include <strings.h>
  +#endif
   #if APR_HAVE_DIRENT_H
   #include <dirent.h>
   #endif
  
  
  
  1.21      +3 -0      apache-2.0/src/lib/apr/lib/apr_tables.c
  
  Index: apr_tables.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/lib/apr_tables.c,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- apr_tables.c	2000/06/17 11:51:38	1.20
  +++ apr_tables.c	2000/06/28 14:33:31	1.21
  @@ -75,6 +75,9 @@
   #ifdef HAVE_STRING_H
   #include <string.h>
   #endif
  +#ifdef HAVE_STRINGS_H
  +#include <strings.h>
  +#endif
   
   /*****************************************************************
    * This file contains array and ap_table_t functions only.
  
  
  
  1.69      +3 -0      apache-2.0/src/main/http_config.c
  
  Index: http_config.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/main/http_config.c,v
  retrieving revision 1.68
  retrieving revision 1.69
  diff -u -r1.68 -r1.69
  --- http_config.c	2000/06/25 22:50:10	1.68
  +++ http_config.c	2000/06/28 14:33:31	1.69
  @@ -87,6 +87,9 @@
   #ifdef HAVE_ARPA_INET_H
   #include <arpa/inet.h>
   #endif
  +#ifdef HAVE_STRINGS_H
  +#include <strings.h>
  +#endif
   
   API_VAR_EXPORT const char *ap_server_argv0;
   
  
  
  
  1.85      +3 -0      apache-2.0/src/main/http_core.c
  
  Index: http_core.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/main/http_core.c,v
  retrieving revision 1.84
  retrieving revision 1.85
  diff -u -r1.84 -r1.85
  --- http_core.c	2000/06/28 07:55:42	1.84
  +++ http_core.c	2000/06/28 14:33:32	1.85
  @@ -82,6 +82,9 @@
   #ifdef HAVE_ARPA_INET_H
   #include <arpa/inet.h>
   #endif
  +#ifdef HAVE_STRINGS_H
  +#include <strings.h>
  +#endif
   
   /* Allow Apache to use ap_mmap */
   #ifdef USE_MMAP_FILES
  
  
  
  1.58      +3 -0      apache-2.0/src/main/http_log.c
  
  Index: http_log.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/main/http_log.c,v
  retrieving revision 1.57
  retrieving revision 1.58
  diff -u -r1.57 -r1.58
  --- http_log.c	2000/06/20 19:36:50	1.57
  +++ http_log.c	2000/06/28 14:33:32	1.58
  @@ -78,6 +78,9 @@
   #ifdef HAVE_STDARG_H
   #include <stdarg.h>
   #endif
  +#ifdef HAVE_STRINGS_H
  +#include <strings.h>
  +#endif
   
   typedef struct {
   	char	*t_name;
  
  
  
  1.89      +3 -0      apache-2.0/src/main/http_protocol.c
  
  Index: http_protocol.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/main/http_protocol.c,v
  retrieving revision 1.88
  retrieving revision 1.89
  diff -u -r1.88 -r1.89
  --- http_protocol.c	2000/06/26 17:25:52	1.88
  +++ http_protocol.c	2000/06/28 14:33:32	1.89
  @@ -83,6 +83,9 @@
   #ifdef HAVE_UNISTD_H
   #include <unistd.h>
   #endif
  +#ifdef HAVE_STRINGS_H
  +#include <strings.h>
  +#endif
   
   AP_HOOK_STRUCT(
   	    AP_HOOK_LINK(post_read_request)
  
  
  
  1.23      +3 -0      apache-2.0/src/main/http_vhost.c
  
  Index: http_vhost.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/main/http_vhost.c,v
  retrieving revision 1.22
  retrieving revision 1.23
  diff -u -r1.22 -r1.23
  --- http_vhost.c	2000/06/17 16:29:48	1.22
  +++ http_vhost.c	2000/06/28 14:33:33	1.23
  @@ -82,6 +82,9 @@
   #ifdef HAVE_NETDB_H
   #include <netdb.h>
   #endif
  +#ifdef HAVE_STRINGS_H
  +#include <strings.h>
  +#endif
   
   /*
    * After all the definitions there's an explanation of how it's all put
  
  
  
  1.60      +3 -0      apache-2.0/src/main/util.c
  
  Index: util.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/main/util.c,v
  retrieving revision 1.59
  retrieving revision 1.60
  diff -u -r1.59 -r1.60
  --- util.c	2000/06/24 17:33:58	1.59
  +++ util.c	2000/06/28 14:33:33	1.60
  @@ -104,6 +104,9 @@
   #ifdef HAVE_GRP_H
   #include <grp.h>
   #endif
  +#ifdef HAVE_STRINGS_H
  +#include <strings.h>
  +#endif
   
   /* A bunch of functions in util.c scan strings looking for certain characters.
    * To make that more efficient we encode a lookup table.  The test_char_table
  
  
  
  1.35      +3 -0      apache-2.0/src/main/util_script.c
  
  Index: util_script.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/main/util_script.c,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- util_script.c	2000/06/15 13:42:01	1.34
  +++ util_script.c	2000/06/28 14:33:33	1.35
  @@ -74,6 +74,9 @@
   #ifdef HAVE_STRING_H
   #include <string.h>
   #endif
  +#ifdef HAVE_STRINGS_H
  +#include <strings.h>
  +#endif
   #ifdef HAVE_ARPA_INET_H
   #include <arpa/inet.h>
   #endif
  
  
  
  1.15      +3 -0      apache-2.0/src/main/util_uri.c
  
  Index: util_uri.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/main/util_uri.c,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- util_uri.c	2000/06/19 18:00:52	1.14
  +++ util_uri.c	2000/06/28 14:33:33	1.15
  @@ -68,6 +68,9 @@
   #ifdef HAVE_STRING_H
   #include <string.h>
   #endif
  +#ifdef HAVE_STRINGS_H
  +#include <strings.h>
  +#endif
   #ifdef HAVE_NETDB_H
   #include <netdb.h>
   #endif
  
  
  
  1.105     +1 -1      apache-2.0/src/modules/mpm/dexter/dexter.c
  
  Index: dexter.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/mpm/dexter/dexter.c,v
  retrieving revision 1.104
  retrieving revision 1.105
  diff -u -r1.104 -r1.105
  --- dexter.c	2000/06/24 16:14:11	1.104
  +++ dexter.c	2000/06/28 14:33:36	1.105
  @@ -1065,7 +1065,7 @@
       int remaining_children_to_start;
       int i;
       ap_status_t rv;
  -    int one = 1;
  +    ap_ssize_t one = 1;
   
       pconf = _pconf;
       ap_server_conf = s;
  
  
  
  1.111     +6 -0      apache-2.0/src/modules/mpm/prefork/prefork.c
  
  Index: prefork.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/mpm/prefork/prefork.c,v
  retrieving revision 1.110
  retrieving revision 1.111
  diff -u -r1.110 -r1.111
  --- prefork.c	2000/06/25 18:23:06	1.110
  +++ prefork.c	2000/06/28 14:33:37	1.111
  @@ -124,6 +124,12 @@
   #ifdef HAVE_BSTRING_H
   #include <bstring.h>		/* for IRIX, FD_SET calls bzero() */
   #endif
  +#ifdef HAVE_STRINGS_H
  +#include <strings.h> 
  +#endif
  +#ifdef HAVE_TIME_H
  +#include <time.h>
  +#endif
   #include <signal.h>
   #include <sys/times.h>
   
  
  
  
  1.16      +3 -0      apache-2.0/src/modules/standard/mod_access.c
  
  Index: mod_access.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_access.c,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- mod_access.c	2000/06/24 17:34:00	1.15
  +++ mod_access.c	2000/06/28 14:33:38	1.16
  @@ -73,6 +73,9 @@
   #ifdef HAVE_STRING_H
   #include <string.h>
   #endif
  +#ifdef HAVE_STRINGS_H
  +#include <strings.h>
  +#endif
   #ifdef HAVE_NETINET_IN_H
   #include <netinet/in.h>
   #endif
  
  
  
  1.14      +3 -0      apache-2.0/src/modules/standard/mod_alias.c
  
  Index: mod_alias.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_alias.c,v
  retrieving revision 1.13
  retrieving revision 1.14
  diff -u -r1.13 -r1.14
  --- mod_alias.c	2000/06/20 21:06:44	1.13
  +++ mod_alias.c	2000/06/28 14:33:38	1.14
  @@ -68,6 +68,9 @@
   #include "httpd.h"
   #include "http_config.h"
   #include "http_request.h"
  +#ifdef HAVE_STRINGS_H
  +#include <strings.h>
  +#endif
   
   typedef struct {
       const char *real;
  
  
  
  1.37      +3 -0      apache-2.0/src/modules/standard/mod_autoindex.c
  
  Index: mod_autoindex.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_autoindex.c,v
  retrieving revision 1.36
  retrieving revision 1.37
  diff -u -r1.36 -r1.37
  --- mod_autoindex.c	2000/06/24 19:31:42	1.36
  +++ mod_autoindex.c	2000/06/28 14:33:38	1.37
  @@ -80,6 +80,9 @@
   #ifdef HAVE_STRING_H
   #include <string.h>
   #endif
  +#ifdef HAVE_STRINGS_H
  +#include <strings.h>
  +#endif
   
   module MODULE_VAR_EXPORT autoindex_module;
   
  
  
  
  1.53      +3 -0      apache-2.0/src/modules/standard/mod_cgi.c
  
  Index: mod_cgi.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_cgi.c,v
  retrieving revision 1.52
  retrieving revision 1.53
  diff -u -r1.52 -r1.53
  --- mod_cgi.c	2000/06/24 17:34:03	1.52
  +++ mod_cgi.c	2000/06/28 14:33:38	1.53
  @@ -84,6 +84,9 @@
   #ifdef HAVE_STRING_H
   #include <string.h>
   #endif
  +#ifdef HAVE_STRINGS_H
  +#include <strings.h>
  +#endif
   
   module MODULE_VAR_EXPORT cgi_module;
   
  
  
  
  1.18      +3 -0      apache-2.0/src/modules/standard/mod_imap.c
  
  Index: mod_imap.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_imap.c,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- mod_imap.c	2000/06/24 17:34:04	1.17
  +++ mod_imap.c	2000/06/28 14:33:40	1.18
  @@ -104,6 +104,9 @@
   #ifdef HAVE_STRING_H
   #include <string.h>
   #endif
  +#ifdef HAVE_STRINGS_H
  +#include <strings.h>
  +#endif
   
   #define IMAP_MAGIC_TYPE "application/x-httpd-imap"
   #define MAXVERTS 100
  
  
  
  1.43      +3 -0      apache-2.0/src/modules/standard/mod_include.c
  
  Index: mod_include.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_include.c,v
  retrieving revision 1.42
  retrieving revision 1.43
  diff -u -r1.42 -r1.43
  --- mod_include.c	2000/06/18 04:06:43	1.42
  +++ mod_include.c	2000/06/28 14:33:41	1.43
  @@ -100,6 +100,9 @@
   #ifdef HAVE_STRING_H
   #include <string.h>
   #endif
  +#ifdef HAVE_STRINGS_H
  +#include <strings.h>
  +#endif
   #ifdef HAVE_PWD_H
   #include <pwd.h>
   #endif
  
  
  
  1.27      +3 -0      apache-2.0/src/modules/standard/mod_log_config.c
  
  Index: mod_log_config.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_log_config.c,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- mod_log_config.c	2000/06/17 16:53:50	1.26
  +++ mod_log_config.c	2000/06/28 14:33:41	1.27
  @@ -182,6 +182,9 @@
   #ifdef HAVE_LIMITS_H
   #include <limits.h>
   #endif
  +#ifdef HAVE_STRINGS_H
  +#include <strings.h>
  +#endif
   
   module MODULE_VAR_EXPORT config_log_module;
   
  
  
  
  1.34      +3 -0      apache-2.0/src/modules/standard/mod_negotiation.c
  
  Index: mod_negotiation.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_negotiation.c,v
  retrieving revision 1.33
  retrieving revision 1.34
  diff -u -r1.33 -r1.34
  --- mod_negotiation.c	2000/06/24 17:34:04	1.33
  +++ mod_negotiation.c	2000/06/28 14:33:41	1.34
  @@ -75,6 +75,9 @@
   #ifdef HAVE_STRING_H
   #include <string.h>
   #endif
  +#ifdef HAVE_STRINGS_H
  +#include <strings.h>
  +#endif
   
   #define MAP_FILE_MAGIC_TYPE "application/x-type-map"
   
  
  
  
  1.15      +3 -0      apache-2.0/src/modules/standard/mod_setenvif.c
  
  Index: mod_setenvif.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_setenvif.c,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- mod_setenvif.c	2000/06/18 04:06:43	1.14
  +++ mod_setenvif.c	2000/06/28 14:33:42	1.15
  @@ -121,6 +121,9 @@
   #include "http_core.h"
   #include "http_log.h"
   #include "http_protocol.h"
  +#ifdef HAVE_STRINGS_H
  +#include <strings.h>
  +#endif
   
   enum special {
       SPECIAL_NOT,
  
  
  
  1.15      +3 -0      apache-2.0/src/modules/standard/mod_userdir.c
  
  Index: mod_userdir.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_userdir.c,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- mod_userdir.c	2000/06/24 17:34:05	1.14
  +++ mod_userdir.c	2000/06/28 14:33:42	1.15
  @@ -98,6 +98,9 @@
   #ifdef HAVE_PWD_H
   #include <pwd.h>
   #endif
  +#ifdef HAVE_STRINGS_H
  +#include <strings.h>
  +#endif
   
   /* The default directory in user's home dir */
   #ifndef DEFAULT_USER_DIR
  
  
  
  1.21      +3 -0      apache-2.0/src/os/unix/unixd.c
  
  Index: unixd.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/os/unix/unixd.c,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- unixd.c	2000/06/20 19:16:18	1.20
  +++ unixd.c	2000/06/28 14:33:48	1.21
  @@ -74,6 +74,9 @@
   #ifdef HAVE_GRP_H
   #include <grp.h>
   #endif
  +#ifdef HAVE_STRINGS_H
  +#include <strings.h>
  +#endif
   
   unixd_config_rec unixd_config;
   
  
  
  
  1.18      +1 -0      apache-2.0/src/support/htpasswd.c
  
  Index: htpasswd.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/support/htpasswd.c,v
  retrieving revision 1.17
  retrieving revision 1.18
  diff -u -r1.17 -r1.18
  --- htpasswd.c	2000/06/27 22:39:13	1.17
  +++ htpasswd.c	2000/06/28 14:33:48	1.18
  @@ -85,6 +85,7 @@
   #include "apr_md5.h"
   #include "ap_sha1.h"
   #include <signal.h>
  +#include <time.h>
   
   #ifdef HAVE_CRYPT_H
   #include <crypt.h>
  
  
  

Mime
View raw message