summaryrefslogtreecommitdiff
path: root/pcre_compile.c
diff options
context:
space:
mode:
authorzherczeg <zherczeg@2f5784b3-3f2a-0410-8824-cb99058d5e15>2015-04-01 13:43:02 +0000
committerzherczeg <zherczeg@2f5784b3-3f2a-0410-8824-cb99058d5e15>2015-04-01 13:43:02 +0000
commit14ce0b0c24bfb4dff4bcb602057014a487a19eef (patch)
tree5959b1edcda4e72bae9c0bdd43a0fc494313047d /pcre_compile.c
parent6ad109ad6c477ea3f0816dac273d0e5ef8253993 (diff)
downloadpcre-14ce0b0c24bfb4dff4bcb602057014a487a19eef.tar.gz
Minor refactor in JIT and set auto-possessify limit to 1000 from 10000 (to match the Changelog).
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1541 2f5784b3-3f2a-0410-8824-cb99058d5e15
Diffstat (limited to 'pcre_compile.c')
-rw-r--r--pcre_compile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pcre_compile.c b/pcre_compile.c
index b742805..ce65777 100644
--- a/pcre_compile.c
+++ b/pcre_compile.c
@@ -3658,7 +3658,7 @@ for (;;)
get_chr_property_list(code, utf, cd->fcc, list) : NULL;
list[1] = c == OP_STAR || c == OP_PLUS || c == OP_QUERY || c == OP_UPTO;
- rec_limit = 10000;
+ rec_limit = 1000;
if (end != NULL && compare_opcodes(end, utf, cd, list, end, &rec_limit))
{
switch(c)
@@ -3715,7 +3715,7 @@ for (;;)
list[1] = (c & 1) == 0;
- rec_limit = 10000;
+ rec_limit = 1000;
if (compare_opcodes(end, utf, cd, list, end, &rec_limit))
{
switch (c)