the behavior hasn't changed since 1.99_10 but it now emits a warning if it can't properly resolve a target file

yike, it has changed - my bad.


try this patch. it still will give you the warning, but now it behaves like it used to. I may end up changing the warning to a debug message I think we'll be seeing the lots...

--Geoff
Index: Apache-Test/lib/Apache/TestConfigParse.pm
===================================================================
RCS file: 
/home/cvspublic/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
--- Apache-Test/lib/Apache/TestConfigParse.pm   7 Nov 2003 15:03:39 -0000       1.36
+++ Apache-Test/lib/Apache/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;

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to