Skip to content

Commit

Permalink
Update dates and tidy files for 10.38 release.
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipHazel committed Oct 1, 2021
1 parent 507e4dc commit 0612ed7
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions ChangeLog
@@ -1,8 +1,8 @@
Change Log for PCRE2
--------------------

Version 10.38-RC1 31-August-2021
--------------------------------
Version 10.38 01-October-2021
-----------------------------

1. Fix invalid single character repetition issues in JIT when the repetition
is inside a capturing bracket and the bracket is preceeded by character
Expand Down Expand Up @@ -52,7 +52,7 @@ However, just in case anybody was relying on the old behaviour, there is an
option called PCRE2_EXTRA_ALLOW_LOOKAROUND_BSK that enables the old behaviour.
An option has also been added to pcre2grep to enable this.

7. Re-enable an optimization which was unintentionally disabled in 10.35.
7. Re-enable a JIT optimization which was unintentionally disabled in 10.35.

8. There is a loop counter to catch excessively crazy patterns when checking
the lengths of lookbehinds at compile time. This was incorrectly getting reset
Expand Down
4 changes: 2 additions & 2 deletions NEWS
Expand Up @@ -2,8 +2,8 @@ News about PCRE2 releases
-------------------------


Version 10.38-RC1 31-August-2021
--------------------------------
Version 10.38 01-October-2021
-----------------------------

As well as some bug fixes and tidies (as always, see ChangeLog for details),
the documentation is updated to list the new URLs, following the move of the
Expand Down
4 changes: 2 additions & 2 deletions configure.ac
Expand Up @@ -10,8 +10,8 @@ dnl be defined as -RC2, for example. For real releases, it should be empty.

m4_define(pcre2_major, [10])
m4_define(pcre2_minor, [38])
m4_define(pcre2_prerelease, [-RC1])
m4_define(pcre2_date, [2021-08-31])
m4_define(pcre2_prerelease, [])
m4_define(pcre2_date, [2021-10-01])

# Libtool shared library interface versions (current:revision:age)
m4_define(libpcre2_8_version, [10:3:10])
Expand Down
2 changes: 1 addition & 1 deletion doc/html/pcre2_set_compile_extra_options.html
Expand Up @@ -30,7 +30,7 @@ <h1>pcre2_set_compile_extra_options man page</h1>
housed in a compile context. It completely replaces all the bits. The extra
options are:
<pre>
PCRE2_EXTRA_ALLOW_LOOKAROUND_BSK Allow \K in lookarounds PCRE2_EXTRA_ALLOW_SURROGATE_ESCAPES Allow \x{df800} to \x{dfff}
PCRE2_EXTRA_ALLOW_LOOKAROUND_BSK Allow \K in lookarounds PCRE2_EXTRA_ALLOW_SURROGATE_ESCAPES Allow \x{df800} to \x{dfff}
in UTF-8 and UTF-32 modes
PCRE2_EXTRA_ALT_BSUX Extended alternate \u, \U, and \x handling
PCRE2_EXTRA_BAD_ESCAPE_IS_LITERAL Treat all invalid escapes as a literal following character
Expand Down
6 changes: 3 additions & 3 deletions src/config.h.generic
Expand Up @@ -233,7 +233,7 @@ sure both macros are undefined; an emulation function will then be used. */
#define PACKAGE_NAME "PCRE2"

/* Define to the full name and version of this package. */
#define PACKAGE_STRING "PCRE2 10.38-RC1"
#define PACKAGE_STRING "PCRE2 10.38"

/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "pcre2"
Expand All @@ -242,7 +242,7 @@ sure both macros are undefined; an emulation function will then be used. */
#define PACKAGE_URL ""

/* Define to the version of this package. */
#define PACKAGE_VERSION "10.38-RC1"
#define PACKAGE_VERSION "10.38"

/* The value of PARENS_NEST_LIMIT specifies the maximum depth of nested
parentheses (of any kind) in a pattern. This limits the amount of system
Expand Down Expand Up @@ -435,7 +435,7 @@ sure both macros are undefined; an emulation function will then be used. */
#endif

/* Version number of package */
#define VERSION "10.38-RC1"
#define VERSION "10.38"

/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */
Expand Down
4 changes: 2 additions & 2 deletions src/pcre2.h.generic
Expand Up @@ -43,8 +43,8 @@ POSSIBILITY OF SUCH DAMAGE.

#define PCRE2_MAJOR 10
#define PCRE2_MINOR 38
#define PCRE2_PRERELEASE -RC1
#define PCRE2_DATE 2021-08-31
#define PCRE2_PRERELEASE
#define PCRE2_DATE 2021-10-01

/* When an application links to a PCRE DLL in Windows, the symbols that are
imported have to be identified as such. When building PCRE2, the appropriate
Expand Down
4 changes: 2 additions & 2 deletions src/pcre2_compile.c
Expand Up @@ -9501,7 +9501,7 @@ Arguments
retptr if not NULL, return the ket pointer here
recurses chain of recurse_check to catch mutual recursion
cb points to the compile block
lcptr points to loop counter
lcptr points to loop counter
Returns: 0 on success, or an errorcode (cb->erroroffset will be set)
*/
Expand Down Expand Up @@ -10091,7 +10091,7 @@ lengths. */

if (has_lookbehind)
{
int loopcount = 0;
int loopcount = 0;
errorcode = check_lookbehinds(cb.parsed_pattern, NULL, NULL, &cb, &loopcount);
if (errorcode != 0) goto HAD_CB_ERROR;
}
Expand Down

0 comments on commit 0612ed7

Please sign in to comment.