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-2.0/src/main http_main.c
Date Wed, 31 May 2000 22:06:35 GMT
rbb         00/05/31 15:06:34

  Modified:    src/include httpd.h
               src/main http_main.c
  Log:
  Remove a warning when compiled with --use-maintainer-mode.  Basically,
  process_rec should just be storing argv the same way that getopt
  expects it.
  
  Revision  Changes    Path
  1.50      +1 -1      apache-2.0/src/include/httpd.h
  
  Index: httpd.h
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/include/httpd.h,v
  retrieving revision 1.49
  retrieving revision 1.50
  diff -u -r1.49 -r1.50
  --- httpd.h	2000/05/28 17:52:19	1.49
  +++ httpd.h	2000/05/31 22:06:32	1.50
  @@ -602,7 +602,7 @@
       ap_pool_t *pool;  /* Global pool. Please try to cleared on _all_ exits */
       ap_pool_t *pconf; /* aka configuration pool, cleared on restarts */
       int argc;
  -    const char **argv;
  +    char *const *argv;
       const char *short_name;
   };
   
  
  
  
  1.53      +2 -2      apache-2.0/src/main/http_main.c
  
  Index: http_main.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/main/http_main.c,v
  retrieving revision 1.52
  retrieving revision 1.53
  diff -u -r1.52 -r1.53
  --- http_main.c	2000/05/30 22:54:31	1.52
  +++ http_main.c	2000/05/31 22:06:33	1.53
  @@ -200,7 +200,7 @@
       exit(process_exit_value);
   }
   
  -static process_rec *create_process(int argc, const char **argv)
  +static process_rec *create_process(int argc, char *const *argv)
   {
       process_rec *process;
       
  @@ -300,7 +300,7 @@
   #ifndef WIN32 /* done in main_win32.c */
       ap_initialize();
   #endif
  -    process = create_process(argc, (const char **)argv);
  +    process = create_process(argc, (char *const *)argv);
       pglobal = process->pool;
       pconf = process->pconf;
       ap_server_argv0 = process->short_name;
  
  
  

Mime
View raw message