Return-Path: X-Original-To: apmail-httpd-bugs-archive@www.apache.org Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 585999CB9 for ; Sun, 19 Aug 2012 22:20:22 +0000 (UTC) Received: (qmail 51285 invoked by uid 500); 19 Aug 2012 22:20:21 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 51249 invoked by uid 500); 19 Aug 2012 22:20:21 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: "Apache HTTPD Bugs Notification List" List-Id: Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 51242 invoked by uid 99); 19 Aug 2012 22:20:21 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Aug 2012 22:20:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.115] (HELO eir.zones.apache.org) (140.211.11.115) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 19 Aug 2012 22:20:19 +0000 Received: by eir.zones.apache.org (Postfix, from userid 80) id 0129F597B; Sun, 19 Aug 2012 22:19:58 +0000 (UTC) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: [Bug 53741] New: Code clean up (Concat string at compile time when possible) Date: Sun, 19 Aug 2012 22:19:57 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Apache httpd-2 X-Bugzilla-Component: All X-Bugzilla-Keywords: X-Bugzilla-Severity: minor X-Bugzilla-Who: christophe.jaillet@wanadoo.fr X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: bugs@httpd.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: priority bug_id assigned_to short_desc bug_severity classification op_sys reporter rep_platform bug_status version component product Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://issues.apache.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 https://issues.apache.org/bugzilla/show_bug.cgi?id=53741 Priority: P2 Bug ID: 53741 Assignee: bugs@httpd.apache.org Summary: Code clean up (Concat string at compile time when possible) Severity: minor Classification: Unclassified OS: All Reporter: christophe.jaillet@wanadoo.fr Hardware: All Status: NEW Version: 2.5-HEAD Component: All Product: Apache httpd-2 Created attachment 29253 --> https://issues.apache.org/bugzilla/attachment.cgi?id=29253&action=edit Proposed patch Hi, All is said in the title. It is sometimes possibles to concat strings at compile time as already widely done in the source code. Doing so, sometimes also give the opportunity to turn a 'ap_fputstrs' into a 'ap_fputs' modules/arch/netware/mod_nw_ssl.c | 4 ++-- modules/cache/mod_cache_disk.c | 4 ++-- modules/cache/mod_disk_cache.c | 4 ++-- modules/http/http_filters.c | 6 +++--- modules/mappers/mod_dir.c | 2 +- modules/proxy/mod_proxy_balancer.c | 2 +- modules/ssl/ssl_engine_kernel.c | 4 ++-- server/protocol.c | 2 +- support/ab.c | 2 +- 9 files changed, 15 insertions(+), 15 deletions(-) Best regards -- You are receiving this mail because: You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org