Add "kibibytes" to the output of pcre2test -C to show the units of the heap
limit.
This commit is contained in:
parent
951bc4b9ff
commit
87a9887e6e
|
@ -52,6 +52,9 @@ be the first character of a match.
|
|||
overflow if the heap limit was set very large. This could cause incorrect "heap
|
||||
limit exceeded" errors.
|
||||
|
||||
13. Add "kibibytes" to the heap limit output from pcre2test -C to make the
|
||||
units clear.
|
||||
|
||||
|
||||
Version 10.32 10-September-2018
|
||||
-------------------------------
|
||||
|
|
|
@ -8152,7 +8152,7 @@ printf(" Internal link size = %d\n", optval);
|
|||
(void)PCRE2_CONFIG(PCRE2_CONFIG_PARENSLIMIT, &optval);
|
||||
printf(" Parentheses nest limit = %d\n", optval);
|
||||
(void)PCRE2_CONFIG(PCRE2_CONFIG_HEAPLIMIT, &optval);
|
||||
printf(" Default heap limit = %d\n", optval);
|
||||
printf(" Default heap limit = %d kibibytes\n", optval);
|
||||
(void)PCRE2_CONFIG(PCRE2_CONFIG_MATCHLIMIT, &optval);
|
||||
printf(" Default match limit = %d\n", optval);
|
||||
(void)PCRE2_CONFIG(PCRE2_CONFIG_DEPTHLIMIT, &optval);
|
||||
|
|
Loading…
Reference in New Issue