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/modules/standard mod_mime_magic.c
Date Tue, 28 Nov 2000 22:56:15 GMT
rbb         00/11/28 14:56:14

  Modified:    src/modules/standard mod_mime_magic.c
  Log:
  Fix some const warnings.
  
  Revision  Changes    Path
  1.33      +3 -3      apache-2.0/src/modules/standard/mod_mime_magic.c
  
  Index: mod_mime_magic.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/modules/standard/mod_mime_magic.c,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- mod_mime_magic.c	2000/11/23 13:03:40	1.32
  +++ mod_mime_magic.c	2000/11/28 22:56:13	1.33
  @@ -2143,14 +2143,14 @@
                               apr_file_t **pipe_in)
   {
       int rc = 1;
  -    char *new_argv[4];
  -    char **env;
  +    const char *new_argv[4];
  +    const char *const *env;
       request_rec *r = parm->r;
       apr_pool_t *child_context = cntxt;
       apr_procattr_t *procattr;
       apr_proc_t *procnew;
   
  -    env = ap_create_environment(child_context, r->subprocess_env);
  +    env = (const char *const *)ap_create_environment(child_context, r->subprocess_env);
   
       if ((apr_createprocattr_init(&procattr, child_context) != APR_SUCCESS) ||
           (apr_setprocattr_io(procattr, APR_FULL_BLOCK, 
  
  
  

Mime
View raw message