Return-Path: X-Original-To: apmail-httpd-dev-archive@www.apache.org Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4A9F496FF for ; Wed, 28 Dec 2011 15:41:10 +0000 (UTC) Received: (qmail 24443 invoked by uid 500); 28 Dec 2011 15:41:09 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 24383 invoked by uid 500); 28 Dec 2011 15:41:09 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 24375 invoked by uid 99); 28 Dec 2011 15:41:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Dec 2011 15:41:09 +0000 X-ASF-Spam-Status: No, hits=-0.1 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_MED,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [195.232.224.71] (HELO mailout02.vodafone.com) (195.232.224.71) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Dec 2011 15:41:00 +0000 Received: from mailint02 (localhost [127.0.0.1]) by mailout02 (Postfix) with ESMTP id 0409F214AE6 for ; Wed, 28 Dec 2011 16:40:38 +0100 (CET) Received: from mbbpop-rat01.vodafone.com (mbbpop-rat01.vodafone.com [195.232.244.148]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by mailint02 (Postfix) with ESMTPS id ECF8C214AB9 for ; Wed, 28 Dec 2011 16:40:37 +0100 (CET) Received: from [145.230.65.26] (unknown [145.230.65.26]) by mbbpop-rat01.vodafone.com (Postfix) with ESMTP id D78D5160057 for ; Wed, 28 Dec 2011 16:40:37 +0100 (CET) Message-ID: <4EFB3875.2000601@vodafone.com> Date: Wed, 28 Dec 2011 16:40:37 +0100 From: =?UTF-8?B?UsO8ZGlnZXIgUGzDvG0=?= User-Agent: Mozilla/5.0 (X11; U; Linux i686; de; rv:1.9.2.25) Gecko/20111216 SUSE/3.1.17 Thunderbird/3.1.17 MIME-Version: 1.0 To: dev@httpd.apache.org Subject: Fwd: svn commit: r1225199 - in /httpd/httpd/trunk: docs/log-message-tags/next-number server/core.c Content-Type: multipart/alternative; boundary="------------040804040809000701030702" This is a multi-part message in MIME format. --------------040804040809000701030702 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit -------- Original-Nachricht -------- Betreff: svn commit: r1225199 - in /httpd/httpd/trunk: docs/log-message-tags/next-number server/core.c Datum: Wed, 28 Dec 2011 14:54:50 GMT Von: sf@apache.org Author: sf Date: Wed Dec 28 14:54:49 2011 New Revision: 1225199 URL: http://svn.apache.org/viewvc?rev=1225199&view=rev Log: Check during configtest that the directories for error logs exist Testing under Windows is welcome PR: 29941 Modified: httpd/httpd/trunk/docs/log-message-tags/next-number 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=1225199&r1=1225198&r2=1225199&view=diff ============================================================================== --- httpd/httpd/trunk/server/core.c (original) +++ httpd/httpd/trunk/server/core.c Wed Dec 28 14:54:49 2011 @@ -4342,6 +4342,44 @@ AP_DECLARE(int) ap_sys_privileges_handle return sys_privileges; } +static int check_errorlog_dir(apr_pool_t *p, server_rec *s) +{ + if (s->error_fname[0] == '|'&& strcmp(s->error_fname, "syslog") == 0) Doesn't this need to be || instead of&&? Regards RĂ¼diger --------------040804040809000701030702 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit svn commit: r1225199 - in /httpd/httpd/trunk: docs/log-message-tags/next-number server/core.c

-------- Original-Nachricht --------
Betreff: svn commit: r1225199 - in /httpd/httpd/trunk: docs/log-message-tags/next-number server/core.c
Datum: Wed, 28 Dec 2011 14:54:50 GMT
Von: sf@apache.org


svn commit: r1225199 - in /httpd/httpd/trunk: docs/log-message-tags/next-number server/core.c
Author: sf
Date: Wed Dec 28 14:54:49 2011
New Revision: 1225199

URL: http://svn.apache.org/viewvc?rev=1225199&view=rev
Log:
Check during configtest that the directories for error logs exist

Testing under Windows is welcome

PR: 29941 

Modified:
    httpd/httpd/trunk/docs/log-message-tags/next-number
    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=1225199&r1=1225198&r2=1225199&view=diff
==============================================================================
--- httpd/httpd/trunk/server/core.c (original)
+++ httpd/httpd/trunk/server/core.c Wed Dec 28 14:54:49 2011
@@ -4342,6 +4342,44 @@ AP_DECLARE(int) ap_sys_privileges_handle
     return sys_privileges;
 }
 
+static int check_errorlog_dir(apr_pool_t *p, server_rec *s)
+{
+    if (s->error_fname[0] == '|' && strcmp(s->error_fname, "syslog") == 0)


Doesn't this need to be || instead of &&?

Regards

RĂ¼diger


--------------040804040809000701030702--