summaryrefslogtreecommitdiffstats
path: root/server/mpm/prefork/prefork.c
diff options
context:
space:
mode:
authorWilliam A. Rowe Jr <wrowe@apache.org>2000-10-06 20:28:27 +0200
committerWilliam A. Rowe Jr <wrowe@apache.org>2000-10-06 20:28:27 +0200
commit1eeb399c7945910cbf996a5fc5ff24df9150692b (patch)
treeea2c1e4ef8373a393c2554183e338d46b6b1ee4d /server/mpm/prefork/prefork.c
parent Completed review for new tests: (diff)
downloadapache2-1eeb399c7945910cbf996a5fc5ff24df9150692b.tar.xz
apache2-1eeb399c7945910cbf996a5fc5ff24df9150692b.zip
Back out or finish up a few non-apr tests. Won't touch proxy at this
moment with a 10 foot pole. fs_dav is ok... the others need apr'ization git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@86418 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--server/mpm/prefork/prefork.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/mpm/prefork/prefork.c b/server/mpm/prefork/prefork.c
index 508fcafef9..0977392bb3 100644
--- a/server/mpm/prefork/prefork.c
+++ b/server/mpm/prefork/prefork.c
@@ -214,7 +214,7 @@ static void chdir_for_gprof(void)
apr_snprintf(buf, sizeof(buf), "%sgprof.%d", dir, (int)getpid());
}
dir = ap_server_root_relative(pconf, buf[0] ? buf : dir);
- if(mkdir(dir, 0755) < 0 && !APR_ERROR_IS_EEXIST(errno)) {
+ if(mkdir(dir, 0755) < 0 && errno != EEXIST) {
ap_log_error(APLOG_MARK, APLOG_ERR, errno, ap_server_conf,
"gprof: error creating directory %s", dir);
}