28 lines
825 B
Diff
28 lines
825 B
Diff
|
From: Piotr Jankowski <piotr.jankowski@nsn.com>
|
||
|
Date: 2013-09-10 10:55:57 CEST
|
||
|
References: http://bugzilla.novell.com/show_bug.cgi?id=839358
|
||
|
References: https://www.varnish-cache.org/trac/ticket/1191
|
||
|
|
||
|
"The JIT compiler is broken on some versions of PCRE, at least on
|
||
|
i386, so disable it by default."
|
||
|
|
||
|
---
|
||
|
lib/libvarnish/vre.c | 3 +--
|
||
|
1 file changed, 1 insertion(+), 2 deletions(-)
|
||
|
|
||
|
Index: varnish-3.0.3/lib/libvarnish/vre.c
|
||
|
===================================================================
|
||
|
--- varnish-3.0.3.orig/lib/libvarnish/vre.c
|
||
|
+++ varnish-3.0.3/lib/libvarnish/vre.c
|
||
|
@@ -40,9 +40,8 @@ struct vre {
|
||
|
pcre_extra *re_extra;
|
||
|
};
|
||
|
|
||
|
-#ifndef PCRE_STUDY_JIT_COMPILE
|
||
|
+#undef PCRE_STUDY_JIT_COMPILE
|
||
|
#define PCRE_STUDY_JIT_COMPILE 0
|
||
|
-#endif
|
||
|
|
||
|
/*
|
||
|
* We don't want to spread or even expose the majority of PCRE options
|