geoff 2003/11/10 09:23:52
Modified: perl-framework/Apache-Test/lib/Apache TestConfigParse.pm
Log:
previous behavior only returned the relative file if no base was
found. so, if the absolute file doesn't exist return the absolute file
anyway, same as before.
Revision Changes Path
1.37 +2 -3
httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfigParse.pm
Index: TestConfigParse.pm
===================================================================
RCS file:
/home/cvs/httpd-test/perl-framework/Apache-Test/lib/Apache/TestConfigParse.pm,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -r1.36 -r1.37
--- TestConfigParse.pm 7 Nov 2003 15:03:39 -0000 1.36
+++ TestConfigParse.pm 10 Nov 2003 17:23:52 -0000 1.37
@@ -91,9 +91,8 @@
else {
warning "configuration file $result does not exist";
- # fall back to relative file we started with
- # same as older behavior which returned $file on error
- $result = $file;
+ # old behavior was to return the resolved but non-existent
+ # file. preserve that behavior and return $result anyway.
}
return $result;