summaryrefslogtreecommitdiff
path: root/src/config.h.generic
diff options
context:
space:
mode:
authorph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2018-06-18 14:03:33 +0000
committerph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>2018-06-18 14:03:33 +0000
commit219fa022fe95b36dbdd162b8a9e94f543cba07a6 (patch)
tree8ae059b4bf5da3a0f42040c95525015dbac0bf18 /src/config.h.generic
parent1326caa549bd96e614b91db87fffee2a4de07dfc (diff)
downloadpcre2-219fa022fe95b36dbdd162b8a9e94f543cba07a6.tar.gz
More typos and changes to "Kibibytes" for "Kilobytes".
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@937 6239d852-aaf2-0410-a92c-79f79f948069
Diffstat (limited to 'src/config.h.generic')
-rw-r--r--src/config.h.generic8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/config.h.generic b/src/config.h.generic
index 97e63f7..dfce8a7 100644
--- a/src/config.h.generic
+++ b/src/config.h.generic
@@ -134,16 +134,16 @@ sure both macros are undefined; an emulation function will then be used. */
/* This limits the amount of memory that may be used while matching a pattern.
It applies to both pcre2_match() and pcre2_dfa_match(). It does not apply
- to JIT matching. The value is in kilobytes. */
+ to JIT matching. The value is in kibibytes (units of 1024 bytes). */
#ifndef HEAP_LIMIT
#define HEAP_LIMIT 20000000
#endif
/* The value of LINK_SIZE determines the number of bytes used to store links
as offsets within the compiled regex. The default is 2, which allows for
- compiled patterns up to 64K long. This covers the vast majority of cases.
- However, PCRE2 can also be compiled to use 3 or 4 bytes instead. This
- allows for longer patterns in extreme cases. */
+ compiled patterns up to 65535 code units long. This covers the vast
+ majority of cases. However, PCRE2 can also be compiled to use 3 or 4 bytes
+ instead. This allows for longer patterns in extreme cases. */
#ifndef LINK_SIZE
#define LINK_SIZE 2
#endif