Bug 53741 - Code clean up (Concat string at compile time when possible)
Summary: Code clean up (Concat string at compile time when possible)
Status: RESOLVED FIXED
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: All (show other bugs)
Version: 2.5-HEAD
Hardware: All All
: P2 minor (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords: FixedInTrunk, PatchAvailable
Depends on:
Blocks:
 
Reported: 2012-08-19 22:19 UTC by Christophe JAILLET
Modified: 2015-01-23 09:56 UTC (History)
0 users



Attachments
Proposed patch (6.47 KB, patch)
2012-08-19 22:19 UTC, Christophe JAILLET
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Christophe JAILLET 2012-08-19 22:19:57 UTC
Created attachment 29253 [details]
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
Comment 1 Yann Ylavic 2015-01-23 09:56:40 UTC
Backported to 2.4.11 in r1634525.