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/standard mod_cgi.c
Date Mon, 23 Oct 2000 19:02:43 GMT
wrowe       00/10/23 12:02:42

  Modified:    src/modules/standard mod_cgi.c
  Log:
    Fix foobar
  
  Revision  Changes    Path
  1.68      +7 -6      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.67
  retrieving revision 1.68
  diff -u -r1.67 -r1.68
  --- mod_cgi.c	2000/10/23 15:30:53	1.67
  +++ mod_cgi.c	2000/10/23 19:02:41	1.68
  @@ -438,6 +438,12 @@
   
   static apr_status_t build_command_line(char **cmd, request_rec *r, apr_pool_t *p)
   {
  +#ifdef WIN32
  +    char *quoted_filename = NULL;
  +    char *interpreter = NULL;
  +    char *arguments = NULL;
  +    file_type_e fileType;
  +#endif
       char *argv0;
   
       /* Allow suexec's "/" check to succeed */
  @@ -445,13 +451,8 @@
           argv0++;
       else
           argv0 = r->filename;
  -
  -#ifdef WIN32
  -    char *quoted_filename = NULL;
  -    char *interpreter = NULL;
  -    char *arguments = NULL;
  -    file_type_e fileType;
   
  +#ifdef WIN32 
       *cmd = NULL;
       fileType = ap_get_win32_interpreter(r, &interpreter, &arguments);
   
  
  
  

Mime
View raw message