From: Lukas Tribus Date: Mon, 12 Sep 2016 21:42:00 +0000 (+0000) Subject: BUG/MINOR: displayed PCRE version is running release X-Git-Tag: v1.7-dev5~39 X-Git-Url: http://www.kaiwu.me/postgresql/commit/?a=commitdiff_plain;h=d64788d9c610163756cac6c91220875e51cba3ef;p=haproxy.git BUG/MINOR: displayed PCRE version is running release pcre_version() returns the running PCRE release, not the release haproxy was built with. This simple string fix should be backported to supported releases, as the output may be confusing. --- diff --git a/src/haproxy.c b/src/haproxy.c index 6665ba76e..98a6a17ee 100644 --- a/src/haproxy.c +++ b/src/haproxy.c @@ -352,7 +352,7 @@ void display_build_opts() #endif #ifdef USE_PCRE - printf("Built with PCRE version : %s", pcre_version()); + printf("Running on PCRE version : %s", pcre_version()); printf("\nPCRE library supports JIT : "); #ifdef USE_PCRE_JIT {