httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jaillet...@apache.org
Subject svn commit: r1732353 - /httpd/httpd/trunk/server/core.c
Date Thu, 25 Feb 2016 19:49:21 GMT
Author: jailletc36
Date: Thu Feb 25 19:49:21 2016
New Revision: 1732353

URL: http://svn.apache.org/viewvc?rev=1732353&view=rev
Log:
Save a few bytes in conf pool when parsing 'DocumentRoot' directive on some OS.

Modified:
    httpd/httpd/trunk/server/core.c

Modified: httpd/httpd/trunk/server/core.c
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/server/core.c?rev=1732353&r1=1732352&r2=1732353&view=diff
==============================================================================
--- httpd/httpd/trunk/server/core.c (original)
+++ httpd/httpd/trunk/server/core.c Thu Feb 25 19:49:21 2016
@@ -1612,7 +1612,7 @@ static const char *set_document_root(cmd
     /* TODO: ap_configtestonly */
     if (apr_filepath_merge((char**)&conf->ap_document_root, NULL, arg,
                            APR_FILEPATH_TRUENAME, cmd->pool) != APR_SUCCESS
-        || !ap_is_directory(cmd->pool, arg)) {
+        || !ap_is_directory(cmd->temp_pool, arg)) {
         if (cmd->server->is_virtual) {
             ap_log_perror(APLOG_MARK, APLOG_STARTUP, 0,
                           cmd->pool, APLOGNO(00112)



Mime
View raw message