SOURCES: apache-bug-40970.patch (NEW) - skip docroot stat()ing; it...

arekm arekm at pld-linux.org
Wed Nov 22 11:50:53 CET 2006


Author: arekm                        Date: Wed Nov 22 10:50:53 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- skip docroot stat()ing; it's useless

---- Files affected:
SOURCES:
   apache-bug-40970.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: SOURCES/apache-bug-40970.patch
diff -u /dev/null SOURCES/apache-bug-40970.patch:1.1
--- /dev/null	Wed Nov 22 11:50:53 2006
+++ SOURCES/apache-bug-40970.patch	Wed Nov 22 11:50:48 2006
@@ -0,0 +1,11 @@
+--- server/core.c.org	2006-11-22 12:37:15.991248750 +0100
++++ server/core.c	2006-11-22 12:39:30.535657250 +0100
+@@ -1129,7 +1129,7 @@
+     /* XXX Shouldn't this be relative to ServerRoot ??? */
+     if (apr_filepath_merge((char**)&conf->ap_document_root, NULL, arg,
+                            APR_FILEPATH_TRUENAME, cmd->pool) != APR_SUCCESS
+-        || !ap_is_directory(cmd->pool, arg)) {
++        ) {
+         if (cmd->server->is_virtual) {
+             ap_log_perror(APLOG_MARK, APLOG_STARTUP, 0,
+                           cmd->pool,
================================================================


More information about the pld-cvs-commit mailing list