[Pcre-svn] [240] code/trunk/src/pcre2_auto_possess.c: Set a…

Top Page
Delete this message
Author: Subversion repository
Date:  
To: pcre-svn
Subject: [Pcre-svn] [240] code/trunk/src/pcre2_auto_possess.c: Set auto-possessify limit to 1000 from 10000 (to match the Changelog).
Revision: 240
          http://www.exim.org/viewvc/pcre2?view=rev&revision=240
Author:   zherczeg
Date:     2015-04-01 14:56:11 +0100 (Wed, 01 Apr 2015)


Log Message:
-----------
Set auto-possessify limit to 1000 from 10000 (to match the Changelog).

Modified Paths:
--------------
    code/trunk/src/pcre2_auto_possess.c


Modified: code/trunk/src/pcre2_auto_possess.c
===================================================================
--- code/trunk/src/pcre2_auto_possess.c    2015-03-31 16:10:01 UTC (rev 239)
+++ code/trunk/src/pcre2_auto_possess.c    2015-04-01 13:56:11 UTC (rev 240)
@@ -1136,7 +1136,7 @@
       get_chr_property_list(code, utf, cb->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, cb, list, end, &rec_limit))
       {
       switch(c)
@@ -1193,7 +1193,7 @@


       list[1] = (c & 1) == 0;


-      rec_limit = 10000;
+      rec_limit = 1000;
       if (compare_opcodes(end, utf, cb, list, end, &rec_limit))
         {
         switch (c)