httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dean Gaudet <dgau...@hyperreal.com>
Subject cvs commit: apache/src mod_include.c
Date Sat, 28 Jun 1997 19:50:17 GMT
dgaudet     97/06/28 12:50:16

  Modified:    src       Tag: APACHE_1_2_X  mod_include.c
  Log:
  PR#742: mod_include was not properly changing directory
  
  Reviewed by:	Dean, Brian
  Submitted by:	Marc
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.33.2.2  +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.33.2.1
  retrieving revision 1.33.2.2
  diff -C3 -r1.33.2.1 -r1.33.2.2
  *** mod_include.c	1997/06/27 02:28:55	1.33.2.1
  --- mod_include.c	1997/06/28 19:50:15	1.33.2.2
  ***************
  *** 520,525 ****
  --- 520,526 ----
        }
        
        destroy_sub_req (rr);
  +     chdir_file(r->filename);
        
        return 0;
    }
  ***************
  *** 567,572 ****
  --- 568,574 ----
    	    
    	    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);
  
  
  

Mime
View raw message