diff --git a/ChangeLog b/ChangeLog index a3d7e59..e5d8d35 100644 --- a/ChangeLog +++ b/ChangeLog @@ -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 ------------------------------- diff --git a/src/pcre2test.c b/src/pcre2test.c index 6af25cb..1944e32 100644 --- a/src/pcre2test.c +++ b/src/pcre2test.c @@ -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);