jim         98/04/21 13:14:08

  Modified:    src/support ab.c htdigest.c htpasswd.c logresolve.c
                        rotatelogs.c suexec.c
  Log:
  Adjust ALL *.c files in support to use conf.h
  so we get the right header files, etc...
  
  Revision  Changes    Path
  1.7       +0 -3      apache-1.3/src/support/ab.c
  
  Index: ab.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/support/ab.c,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- ab.c      1998/04/21 19:56:27     1.6
  +++ ab.c      1998/04/21 20:14:05     1.7
  @@ -90,10 +90,7 @@
   #define BSD_COMP
   
   #include "conf.h"
  -#include <string.h>
  -#include <errno.h>
   #include <fcntl.h>
  -#include <unistd.h>
   #include <sys/time.h>
   
   /* ------------------- DEFINITIONS -------------------------- */
  
  
  
  1.17      +1 -5      apache-1.3/src/support/htdigest.c
  
  Index: htdigest.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/support/htdigest.c,v
  retrieving revision 1.16
  retrieving revision 1.17
  diff -u -r1.16 -r1.17
  --- htdigest.c        1998/04/11 12:01:08     1.16
  +++ htdigest.c        1998/04/21 20:14:05     1.17
  @@ -10,17 +10,13 @@
    * by Alexei Kosut, based on htpasswd.c, by Rob McCool
    */
   
  +#include "conf.h"
   #include <sys/types.h>
  -#include <stdio.h>
  -#include <string.h>
   #ifdef MPE
   #include <signal.h>
   #else
   #include <sys/signal.h>
   #endif
  -#include <stdlib.h>
  -#include <time.h>
  -#include <unistd.h>
   
   /* This is probably the easiest way to do it */
   #include "../main/md5c.c"
  
  
  
  1.15      +1 -5      apache-1.3/src/support/htpasswd.c
  
  Index: htpasswd.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/support/htpasswd.c,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- htpasswd.c        1998/03/19 09:56:42     1.14
  +++ htpasswd.c        1998/04/21 20:14:06     1.15
  @@ -10,13 +10,9 @@
    * Rob McCool
    */
   
  +#include "conf.h"
   #include <sys/types.h>
  -#include <stdio.h>
  -#include <string.h>
   #include <signal.h>
  -#include <stdlib.h>
  -#include <time.h>
  -#include <unistd.h>
   
   #ifndef CHARSET_EBCDIC
   #define LF 10
  
  
  
  1.12      +0 -1      apache-1.3/src/support/logresolve.c
  
  Index: logresolve.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/support/logresolve.c,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- logresolve.c      1998/04/21 20:03:23     1.11
  +++ logresolve.c      1998/04/21 20:14:06     1.12
  @@ -43,7 +43,6 @@
   #include <sys/types.h>
   
   #include <ctype.h>
  -#include <string.h>
   
   #ifndef MPE
   #include <arpa/inet.h>
  
  
  
  1.9       +1 -3      apache-1.3/src/support/rotatelogs.c
  
  Index: rotatelogs.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/support/rotatelogs.c,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- rotatelogs.c      1997/10/12 06:00:48     1.8
  +++ rotatelogs.c      1998/04/21 20:14:06     1.9
  @@ -10,12 +10,10 @@
   #define BUFSIZE              65536
   #define MAX_PATH     1024
   
  -#include <stdio.h>
  -#include <stdlib.h>
  +#include "conf.h"
   #include <time.h>
   #include <errno.h>
   #include <fcntl.h>
  -#include <unistd.h>
   
   int main (int argc, char **argv)
   {
  
  
  
  1.38      +2 -10     apache-1.3/src/support/suexec.c
  
  Index: suexec.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/support/suexec.c,v
  retrieving revision 1.37
  retrieving revision 1.38
  diff -u -r1.37 -r1.38
  --- suexec.c  1998/03/31 12:54:06     1.37
  +++ suexec.c  1998/04/21 20:14:06     1.38
  @@ -71,20 +71,12 @@
    *
    */
   
  -
  +#include "conf.h"
   #include <sys/param.h>
   #include <sys/stat.h>
   #include <sys/types.h>
   
  -#include <errno.h>
  -#include <grp.h>
  -#include <pwd.h>
   #include <stdarg.h>
  -#include <stdio.h>
  -#include <stdlib.h>
  -#include <string.h>
  -#include <time.h>
  -#include <unistd.h>
   
   #include "suexec.h"
   
  @@ -98,7 +90,7 @@
    ***********************************************************************
    */
   
  -#if defined(QNX) || defined(_OSD_POSIX) || defined(MPE) || defined(SCO) || 
defined(BEOS)
  +#if defined(NEED_INITGROUPS)
   int initgroups(const char *name, gid_t basegid)
   {
   /* QNX and MPE do not appear to support supplementary groups. */
  
  
  

Reply via email to