dgaudet     97/06/28 12:49:39

  Modified:    src       mod_include.c
  Log:
  PR#742: mod_include was not properly changing directory
  
  Reviewed by:  Dean, Brian
  Submitted by: Marc
  
  Revision  Changes    Path
  1.36      +2 -0      apache/src/mod_include.c
  
  Index: mod_include.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/mod_include.c,v
  retrieving revision 1.35
  retrieving revision 1.36
  diff -C3 -r1.35 -r1.36
  *** mod_include.c     1997/06/22 03:40:24     1.35
  --- mod_include.c     1997/06/28 19:49:38     1.36
  ***************
  *** 524,529 ****
  --- 524,530 ----
        }
        
        destroy_sub_req (rr);
  +     chdir_file(r->filename);
        
        return 0;
    }
  ***************
  *** 571,576 ****
  --- 572,578 ----
            
            if (!error_fmt && run_sub_req (rr))
                error_fmt = "unable to include %s in parsed file %s";
  +         chdir_file(r->filename);
                    
                if (error_fmt) {
                    log_printf(r->server, error_fmt, tag_val, r->filename);
  
  
  

Reply via email to