From: Martin Kraemer Date: Mon, 24 Mar 2003 08:51:22 +0000 (+0000) Subject: On failures, try to add a hint what went wrong X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=58ce9e00de8e2ba95134837679f7c620d3546e5b;p=thirdparty%2Fapache%2Fhttpd.git On failures, try to add a hint what went wrong git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@99055 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/server/log.c b/server/log.c index 95ab4aa2e8e..46b00afe559 100644 --- a/server/log.c +++ b/server/log.c @@ -870,6 +870,8 @@ AP_DECLARE(piped_log *) ap_open_piped_log(apr_pool_t *p, const char *program) errno = save_errno; return NULL; } + /* Pipes are 'inheritable' by default, but we want only the logger to inherit it */ + /*@@@ missing in API! apr_pipe_inherit_unset();*/ return pl; } diff --git a/server/scoreboard.c b/server/scoreboard.c index 3e9057ed533..80cb4b8389d 100644 --- a/server/scoreboard.c +++ b/server/scoreboard.c @@ -179,8 +179,8 @@ static apr_status_t create_namebased_scoreboard(apr_pool_t *pool, rv = apr_shm_create(&ap_scoreboard_shm, scoreboard_size, fname, pool); if (rv != APR_SUCCESS) { ap_log_error(APLOG_MARK, APLOG_CRIT, rv, NULL, - "unable to create scoreboard " - "(name-based shared memory failure)"); + "unable to create scoreboard \"%s\" " + "(name-based shared memory failure)", fname); return rv; } #endif /* APR_HAS_SHARED_MEMORY */