httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@locus.apache.org
Subject cvs commit: apache-2.0/src/modules/mpm/winnt service.c
Date Mon, 04 Dec 2000 04:20:40 GMT
wrowe       00/12/03 20:20:40

  Modified:    src/modules/mpm/winnt service.c
  Log:
    This chops the compile time warnings back down to one (a sufficient
    reminder that we need some workaround for msvc's broken const'ness.)
  
  Revision  Changes    Path
  1.27      +3 -3      apache-2.0/src/modules/mpm/winnt/service.c
  
  Index: service.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/mpm/winnt/service.c,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- service.c	2000/11/29 17:33:03	1.26
  +++ service.c	2000/12/04 04:20:39	1.27
  @@ -595,7 +595,7 @@
        */
       if (argc > 1) 
       {
  -        const char **cmb_data;
  +        char **cmb_data;
   
           mpm_new_argv->nalloc = mpm_new_argv->nelts + argc - 1;
           cmb_data = apr_palloc(mpm_new_argv->cont,
  @@ -673,7 +673,7 @@
   {
       apr_array_header_t *svc_args = NULL;
       char conf_key[MAX_PATH];
  -    const char **cmb_data;
  +    char **cmb_data;
       apr_status_t rv;
   
       apr_snprintf(conf_key, sizeof(conf_key), SERVICEPARAMS, service_name);
  @@ -1032,7 +1032,7 @@
   
       if (osver.dwPlatformId == VER_PLATFORM_WIN32_NT)
       {
  -        const char **start_argv;
  +        char **start_argv;
           SC_HANDLE   schService;
           SC_HANDLE   schSCManager;
   
  
  
  

Mime
View raw message