From 94cb52befb9bc7161dc6c9812919bfb790384b1a Mon Sep 17 00:00:00 2001 From: "Philip.Hazel" Date: Tue, 15 Aug 2017 10:58:32 +0000 Subject: [PATCH] Final file tidies for 10.30 release. --- ChangeLog | 6 +++--- NEWS | 4 ++-- configure.ac | 4 ++-- doc/html/pcre2pattern.html | 9 +++++---- doc/pcre2.txt | 10 ++++++---- maint/ManyConfigTests | 4 +++- src/config.h.generic | 6 +++--- src/pcre2.h | 4 ++-- src/pcre2.h.generic | 4 ++-- 9 files changed, 28 insertions(+), 23 deletions(-) diff --git a/ChangeLog b/ChangeLog index 188ab3c..84907e9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -2,8 +2,8 @@ Change Log for PCRE2 -------------------- -Version 10.30-RC1 18-July-2017 ------------------------------- +Version 10.30 14-August-2017 +---------------------------- 1. The main interpreter, pcre2_match(), has been refactored into a new version that does not use recursive function calls (and therefore the stack) for @@ -232,7 +232,7 @@ not doing so for [\d-X] (and similar escapes), as is documented. 54. Fixed a MIPS issue in the JIT compiler reported by Joshua Kinard. -55. Fixed a "maybe uninitialized" warning for class_uchardata in \p handling in +55. Fixed a "maybe uninitialized" warning for class_uchardata in \p handling in pcre2_compile() which could never actually trigger (code should have been cut out when Unicode support is disabled). diff --git a/NEWS b/NEWS index cacbed5..74c52a3 100644 --- a/NEWS +++ b/NEWS @@ -1,8 +1,8 @@ News about PCRE2 releases ------------------------- -Version 10.30-RC1 18-July-2017 ------------------------------- +Version 10.30 14-August-2017 +---------------------------- The full list of changes that includes bugfixes and tidies is, as always, in ChangeLog. These are the most important new features: diff --git a/configure.ac b/configure.ac index 8ebd341..d332f6e 100644 --- a/configure.ac +++ b/configure.ac @@ -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, [30]) -m4_define(pcre2_prerelease, [-RC1]) -m4_define(pcre2_date, [2017-07-18]) +m4_define(pcre2_prerelease, []) +m4_define(pcre2_date, [2017-08-14]) # NOTE: The CMakeLists.txt file searches for the above variables in the first # 50 lines of this file. Please update that if the variables above are moved. diff --git a/doc/html/pcre2pattern.html b/doc/html/pcre2pattern.html index 2fb3eb5..d6df38e 100644 --- a/doc/html/pcre2pattern.html +++ b/doc/html/pcre2pattern.html @@ -1395,9 +1395,10 @@ b to d, a hyphen character, or z.

Perl treats a hyphen as a literal if it appears before or after a POSIX class -(see below) or a character type escape such as as \d, but gives a warning in -its warning mode, as this is most likely a user error. As PCRE2 has no facility -for warning, an error is given in these cases. +(see below) or before or after a character type escape such as as \d or \H. +However, unless the hyphen is the last character in the class, Perl outputs a +warning in its warning mode, as this is most likely a user error. As PCRE2 has +no facility for warning, an error is given in these cases.

It is not possible to have the literal character "]" as the end character of a @@ -3472,7 +3473,7 @@ Cambridge, England.


REVISION

-Last updated: 05 July 2017 +Last updated: 29 July 2017
Copyright © 1997-2017 University of Cambridge.
diff --git a/doc/pcre2.txt b/doc/pcre2.txt index bb0314f..8b7337c 100644 --- a/doc/pcre2.txt +++ b/doc/pcre2.txt @@ -6827,9 +6827,11 @@ SQUARE BRACKETS AND CHARACTER CLASSES ter, or z. Perl treats a hyphen as a literal if it appears before or after a POSIX - class (see below) or a character type escape such as as \d, but gives a - warning in its warning mode, as this is most likely a user error. As - PCRE2 has no facility for warning, an error is given in these cases. + class (see below) or before or after a character type escape such as as + \d or \H. However, unless the hyphen is the last character in the + class, Perl outputs a warning in its warning mode, as this is most + likely a user error. As PCRE2 has no facility for warning, an error is + given in these cases. It is not possible to have the literal character "]" as the end charac- ter of a range. A pattern such as [W-]46] is interpreted as a class of @@ -8793,7 +8795,7 @@ AUTHOR REVISION - Last updated: 05 July 2017 + Last updated: 29 July 2017 Copyright (c) 1997-2017 University of Cambridge. ------------------------------------------------------------------------------ diff --git a/maint/ManyConfigTests b/maint/ManyConfigTests index 5860b39..9784971 100755 --- a/maint/ManyConfigTests +++ b/maint/ManyConfigTests @@ -286,7 +286,9 @@ if [ $ISGCC -ne 0 -a $usemain -ne 0 ]; then runtest if [ $useasan -ne 0 ]; then echo "---------- Maximally configured test with -fsanitize=address ----------" - CFLAGS="$OFLAGS $SAVECFLAGS -fsanitize=address" +# Following a kernel change, sanitize address doesn't work unless the extra +# PIE options are also set. + CFLAGS="$OFLAGS $SAVECFLAGS -no-pie -fno-PIE -fsanitize=address" echo "CFLAGS=$CFLAGS" opts="--disable-shared $enable_jit --enable-pcre2-16 --enable-pcre2-32" runtest diff --git a/src/config.h.generic b/src/config.h.generic index f794576..09f16be 100644 --- a/src/config.h.generic +++ b/src/config.h.generic @@ -210,7 +210,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.30-RC1" +#define PACKAGE_STRING "PCRE2 10.30" /* Define to the one symbol short name of this package. */ #define PACKAGE_TARNAME "pcre2" @@ -219,7 +219,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.30-RC1" +#define PACKAGE_VERSION "10.30" /* 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 @@ -339,7 +339,7 @@ sure both macros are undefined; an emulation function will then be used. */ #endif /* Version number of package */ -#define VERSION "10.30-RC1" +#define VERSION "10.30" /* Define to 1 if on MINIX. */ /* #undef _MINIX */ diff --git a/src/pcre2.h b/src/pcre2.h index 287b12a..5a45339 100644 --- a/src/pcre2.h +++ b/src/pcre2.h @@ -43,8 +43,8 @@ POSSIBILITY OF SUCH DAMAGE. #define PCRE2_MAJOR 10 #define PCRE2_MINOR 30 -#define PCRE2_PRERELEASE -RC1 -#define PCRE2_DATE 2017-07-18 +#define PCRE2_PRERELEASE +#define PCRE2_DATE 2017-08-14 /* 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 diff --git a/src/pcre2.h.generic b/src/pcre2.h.generic index 287b12a..5a45339 100644 --- a/src/pcre2.h.generic +++ b/src/pcre2.h.generic @@ -43,8 +43,8 @@ POSSIBILITY OF SUCH DAMAGE. #define PCRE2_MAJOR 10 #define PCRE2_MINOR 30 -#define PCRE2_PRERELEASE -RC1 -#define PCRE2_DATE 2017-07-18 +#define PCRE2_PRERELEASE +#define PCRE2_DATE 2017-08-14 /* 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