From 791e5eef8948aa0d2aaa0b5932435cd59979284d Mon Sep 17 00:00:00 2001 From: "William A. Rowe Jr" Date: Fri, 24 Aug 2001 03:45:21 +0000 Subject: [PATCH] Will I ever get my str*cmp semantics right? Not at this hour... git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@90611 13f79535-47bb-0310-9956-ffa450edef68 --- server/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/core.c b/server/core.c index acf1916b3d..59527b4a80 100644 --- a/server/core.c +++ b/server/core.c @@ -135,7 +135,7 @@ static void *create_core_dir_config(apr_pool_t *a, char *dir) conf->d_is_fnmatch = conf->d ? (apr_is_fnmatch(conf->d) != 0) : 0; /* On all platforms, "/" is (at minimum) a faux root */ conf->d_is_absolute = conf->d ? (ap_os_is_path_absolute(a, conf->d) - || strcmp(conf->d, "/")) : 0; + || (strcmp(conf->d, "/") == 0)) : 0; conf->d_components = conf->d ? ap_count_dirs(conf->d) : 0; conf->opts = dir ? OPT_UNSET : OPT_UNSET|OPT_ALL; -- 2.50.1