Revision: 1150
http://www.exim.org/viewvc/pcre2?view=rev&revision=1150
Author: ph10
Date: 2019-07-29 17:19:58 +0100 (Mon, 29 Jul 2019)
Log Message:
-----------
Documentation update.
Modified Paths:
--------------
code/trunk/doc/html/pcre2_jit_compile.html
code/trunk/doc/pcre2_jit_compile.3
Modified: code/trunk/doc/html/pcre2_jit_compile.html
===================================================================
--- code/trunk/doc/html/pcre2_jit_compile.html 2019-07-29 16:10:31 UTC (rev 1149)
+++ code/trunk/doc/html/pcre2_jit_compile.html 2019-07-29 16:19:58 UTC (rev 1150)
@@ -43,12 +43,14 @@
</pre>
There is also an obsolete option called PCRE2_JIT_INVALID_UTF, which has been
superseded by the <b>pcre2_compile()</b> option PCRE2_MATCH_INVALID_UTF. The old
-option is deprecated and may be removed in future.
+option is deprecated and may be removed in the future.
</P>
<P>
The yield of the function is 0 for success, or a negative error code otherwise.
In particular, PCRE2_ERROR_JIT_BADOPTION is returned if JIT is not supported or
-if an unknown bit is set in <i>options</i>.
+if an unknown bit is set in <i>options</i>. The function can also return
+PCRE2_ERROR_NOMEMORY if JIT is unable to allocate executable memory for the
+compiler, even if it was because of a system security restriction.
</P>
<P>
There is a complete description of the PCRE2 native API in the
Modified: code/trunk/doc/pcre2_jit_compile.3
===================================================================
--- code/trunk/doc/pcre2_jit_compile.3 2019-07-29 16:10:31 UTC (rev 1149)
+++ code/trunk/doc/pcre2_jit_compile.3 2019-07-29 16:19:58 UTC (rev 1150)
@@ -1,4 +1,4 @@
-.TH PCRE2_JIT_COMPILE 3 "23 May 2019" "PCRE2 10.34"
+.TH PCRE2_JIT_COMPILE 3 "29 July 2019" "PCRE2 10.34"
.SH NAME
PCRE2 - Perl-compatible regular expressions (revised API)
.SH SYNOPSIS
@@ -32,11 +32,13 @@
.sp
There is also an obsolete option called PCRE2_JIT_INVALID_UTF, which has been
superseded by the \fBpcre2_compile()\fP option PCRE2_MATCH_INVALID_UTF. The old
-option is deprecated and may be removed in future.
+option is deprecated and may be removed in the future.
.P
The yield of the function is 0 for success, or a negative error code otherwise.
In particular, PCRE2_ERROR_JIT_BADOPTION is returned if JIT is not supported or
-if an unknown bit is set in \fIoptions\fP.
+if an unknown bit is set in \fIoptions\fP. The function can also return
+PCRE2_ERROR_NOMEMORY if JIT is unable to allocate executable memory for the
+compiler, even if it was because of a system security restriction.
.P
There is a complete description of the PCRE2 native API in the
.\" HREF