|
From 3a011f15a8d61cd0088cc0e46743bdc7699db1af Mon Sep 17 00:00:00 2001
|
|
From: Lukas Tribus <luky-37@hotmail.com>
|
|
Date: Mon, 12 Sep 2016 21:42:00 +0000
|
|
Subject: [PATCH 02/26] 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.
|
|
(cherry picked from commit d64788d9c610163756cac6c91220875e51cba3ef)
|
|
---
|
|
src/haproxy.c | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/src/haproxy.c b/src/haproxy.c
|
|
index d70cf63..44d32b9 100644
|
|
--- a/src/haproxy.c
|
|
+++ b/src/haproxy.c
|
|
@@ -347,7 +347,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
|
|
{
|
|
--
|
|
2.7.3
|
|
|