aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/pcre
diff options
context:
space:
mode:
authorrobot-contrib <robot-contrib@yandex-team.ru>2022-06-30 02:55:23 +0300
committerrobot-contrib <robot-contrib@yandex-team.ru>2022-06-30 02:55:23 +0300
commit38668a308977e333cc5e46effdca46d2f68e1d5a (patch)
treecabf065d799683347a0f221ebc68bcc26960f5b2 /contrib/libs/pcre
parent4663401fcbd66b2db83f0e5ee6171eef7bbda40f (diff)
downloadydb-38668a308977e333cc5e46effdca46d2f68e1d5a.tar.gz
Update contrib/libs/pcre to 8.45
ref:a49ad8a731cac10ec9982655e75b696555ebd6e2
Diffstat (limited to 'contrib/libs/pcre')
-rw-r--r--contrib/libs/pcre/.yandex_meta/devtools.copyrights.report62
-rw-r--r--contrib/libs/pcre/.yandex_meta/devtools.licenses.report12
-rw-r--r--contrib/libs/pcre/.yandex_meta/licenses.list.txt18
-rw-r--r--contrib/libs/pcre/AUTHORS10
-rw-r--r--contrib/libs/pcre/ChangeLog27
-rw-r--r--contrib/libs/pcre/LICENCE10
-rw-r--r--contrib/libs/pcre/NEWS10
-rw-r--r--contrib/libs/pcre/NON-AUTOTOOLS-BUILD10
-rw-r--r--contrib/libs/pcre/README11
-rw-r--r--contrib/libs/pcre/pcre.h4
-rw-r--r--contrib/libs/pcre/pcre_compile.c9
-rw-r--r--contrib/libs/pcre/pcre_config.h16
-rw-r--r--contrib/libs/pcre/pcre_exec.c4
13 files changed, 115 insertions, 88 deletions
diff --git a/contrib/libs/pcre/.yandex_meta/devtools.copyrights.report b/contrib/libs/pcre/.yandex_meta/devtools.copyrights.report
index 0f2a79b28e..60271ff529 100644
--- a/contrib/libs/pcre/.yandex_meta/devtools.copyrights.report
+++ b/contrib/libs/pcre/.yandex_meta/devtools.copyrights.report
@@ -41,6 +41,18 @@ BELONGS ya.make
sljit/sljitNativeTILEGX-encoder.c [4:4]
sljit/sljitNativeTILEGX_64.c [4:4]
+KEEP COPYRIGHT_SERVICE_LABEL 029b66de29e9893a9af854e4049ff264
+BELONGS ya.make
+ License text:
+ Copyright(c) 2009-2021 Zoltan Herczeg
+ All rights reserved.
+ Scancode info:
+ Original SPDX id: COPYRIGHT_SERVICE_LABEL
+ Score : 100.00
+ Match type : COPYRIGHT
+ Files with this license:
+ LICENCE [50:51]
+
KEEP COPYRIGHT_SERVICE_LABEL 1e873553d39834f61b495e45fcd01679
BELONGS ya.make
License text:
@@ -101,29 +113,15 @@ BELONGS ya.make
KEEP COPYRIGHT_SERVICE_LABEL 592125ca0e46e64eae2bb2293e947755
BELONGS ya.make
License text:
- Copyright (c) 1997-2020 University of Cambridge
- All rights reserved.
+ Written by Philip Hazel
+ Copyright (c) 1997-2020 University of Cambridge
Scancode info:
Original SPDX id: COPYRIGHT_SERVICE_LABEL
Score : 100.00
Match type : COPYRIGHT
Files with this license:
- LICENCE [28:29]
- pcre_compile.c [8:9]
pcreposix.c [8:9]
-KEEP COPYRIGHT_SERVICE_LABEL 64c2955fb8f56ebc1c115a3ff646424a
-BELONGS ya.make
- License text:
- Copyright(c) 2010-2020 Zoltan Herczeg
- All rights reserved.
- Scancode info:
- Original SPDX id: COPYRIGHT_SERVICE_LABEL
- Score : 100.00
- Match type : COPYRIGHT
- Files with this license:
- LICENCE [39:40]
-
KEEP COPYRIGHT_SERVICE_LABEL 71499817b900aaf04d853fdffdc657b0
BELONGS ya.make
License text:
@@ -192,17 +190,19 @@ BELONGS ya.make
Files with this license:
pcre_internal.h [9:10]
-KEEP COPYRIGHT_SERVICE_LABEL bb4b956e9b9ba5639adf745e37505086
+KEEP COPYRIGHT_SERVICE_LABEL 97c1bd68d12fc7ffbf6b6583c204031e
BELONGS ya.make
License text:
- Copyright(c) 2009-2020 Zoltan Herczeg
+ Copyright (c) 1997-2021 University of Cambridge
All rights reserved.
Scancode info:
Original SPDX id: COPYRIGHT_SERVICE_LABEL
Score : 100.00
Match type : COPYRIGHT
Files with this license:
- LICENCE [50:51]
+ LICENCE [28:29]
+ pcre_compile.c [8:9]
+ pcre_exec.c [8:9]
KEEP COPYRIGHT_SERVICE_LABEL d2e7c83484cc274d175a441339febefd
BELONGS ya.make
@@ -221,6 +221,18 @@ BELONGS ya.make
pcre_valid_utf8.c [8:9]
pcre_xclass.c [8:9]
+KEEP COPYRIGHT_SERVICE_LABEL f210bdfe8075eda540c36de510ed81c0
+BELONGS ya.make
+ License text:
+ Copyright(c) 2010-2021 Zoltan Herczeg
+ All rights reserved.
+ Scancode info:
+ Original SPDX id: COPYRIGHT_SERVICE_LABEL
+ Score : 100.00
+ Match type : COPYRIGHT
+ Files with this license:
+ LICENCE [39:40]
+
KEEP COPYRIGHT_SERVICE_LABEL f28a4750d9101477330316879bfef000
BELONGS ya.make
License text:
@@ -283,18 +295,6 @@ BELONGS ya.make
pcre_version.c [8:9]
pcreposix.h [12:12]
-KEEP COPYRIGHT_SERVICE_LABEL f465f31e662807282b11f7932c22f952
-BELONGS ya.make
- License text:
- Written by Philip Hazel
- Copyright (c) 1997-2018 University of Cambridge
- Scancode info:
- Original SPDX id: COPYRIGHT_SERVICE_LABEL
- Score : 100.00
- Match type : COPYRIGHT
- Files with this license:
- pcre_exec.c [8:9]
-
KEEP COPYRIGHT_SERVICE_LABEL f739539008599df8a5179e14aed6a3a4
BELONGS ya.make
License text:
diff --git a/contrib/libs/pcre/.yandex_meta/devtools.licenses.report b/contrib/libs/pcre/.yandex_meta/devtools.licenses.report
index 46aaa3b90f..bce209798f 100644
--- a/contrib/libs/pcre/.yandex_meta/devtools.licenses.report
+++ b/contrib/libs/pcre/.yandex_meta/devtools.licenses.report
@@ -40,14 +40,14 @@ BELONGS ya.make
Match type : REFERENCE
Links : http://www.pcre.org/licence.txt, https://github.com/nexB/scancode-toolkit/tree/develop/src/licensedcode/data/licenses/pcre.LICENSE
Files with this license:
- ChangeLog [4755:4755]
+ ChangeLog [4772:4772]
Scancode info:
Original SPDX id: BSD-3-Clause
Score : 100.00
Match type : REFERENCE
Links : http://www.opensource.org/licenses/BSD-3-Clause, https://spdx.org/licenses/BSD-3-Clause
Files with this license:
- ChangeLog [4755:4755]
+ ChangeLog [4772:4772]
KEEP Public-Domain 18645a531a9d976f5e74253296440788
BELONGS ya.make
@@ -85,7 +85,7 @@ BELONGS ya.make
Match type : REFERENCE
Links : http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html, https://spdx.org/licenses/GPL-1.0-or-later
Files with this license:
- README [402:402]
+ README [401:401]
KEEP BSD-3-Clause 5276af3fc24d12afb931e0faed359b1b
BELONGS ya.make
@@ -192,7 +192,7 @@ BELONGS ya.make
Match type : REFERENCE
Links : http://www.opensource.org/licenses/BSD-3-Clause, https://spdx.org/licenses/BSD-3-Clause
Files with this license:
- NEWS [566:566]
+ NEWS [572:572]
KEEP BSD-2-Clause 7b9b15809e143335a85813bb93b561a4
BELONGS ya.make
@@ -335,7 +335,7 @@ BELONGS ya.make
Match type : REFERENCE
Links : http://www.opensource.org/licenses/BSD-3-Clause, https://spdx.org/licenses/BSD-3-Clause
Files with this license:
- README [404:404]
+ README [403:403]
SKIP GPL-1.0-or-later f7abe239790339a908564d9a088dde6d
BELONGS ya.make
@@ -348,4 +348,4 @@ BELONGS ya.make
Match type : REFERENCE
Links : http://www.gnu.org/licenses/old-licenses/gpl-1.0-standalone.html, https://spdx.org/licenses/GPL-1.0-or-later
Files with this license:
- ChangeLog [5831:5831]
+ ChangeLog [5848:5848]
diff --git a/contrib/libs/pcre/.yandex_meta/licenses.list.txt b/contrib/libs/pcre/.yandex_meta/licenses.list.txt
index fc23f11eed..d1349fc3d4 100644
--- a/contrib/libs/pcre/.yandex_meta/licenses.list.txt
+++ b/contrib/libs/pcre/.yandex_meta/licenses.list.txt
@@ -149,7 +149,7 @@ conventional "BSD" licence.
====================COPYRIGHT====================
Written by Philip Hazel
- Copyright (c) 1997-2018 University of Cambridge
+ Copyright (c) 1997-2020 University of Cambridge
====================COPYRIGHT====================
@@ -185,7 +185,7 @@ Foundation, Inc.
====================COPYRIGHT====================
-Copyright (c) 1997-2020 University of Cambridge
+Copyright (c) 1997-2021 University of Cambridge
All rights reserved.
@@ -195,12 +195,12 @@ All rights reserved.
====================COPYRIGHT====================
-Copyright(c) 2009-2020 Zoltan Herczeg
+Copyright(c) 2009-2021 Zoltan Herczeg
All rights reserved.
====================COPYRIGHT====================
-Copyright(c) 2010-2020 Zoltan Herczeg
+Copyright(c) 2010-2021 Zoltan Herczeg
All rights reserved.
@@ -233,13 +233,13 @@ THE BASIC LIBRARY FUNCTIONS
---------------------------
Written by: Philip Hazel
-Email local part: ph10
-Email domain: cam.ac.uk
+Email local part: Philip.Hazel
+Email domain: gmail.com
University of Cambridge Computing Service,
Cambridge, England.
-Copyright (c) 1997-2020 University of Cambridge
+Copyright (c) 1997-2021 University of Cambridge
All rights reserved.
@@ -250,7 +250,7 @@ Written by: Zoltan Herczeg
Email local part: hzmester
Email domain: freemail.hu
-Copyright(c) 2010-2020 Zoltan Herczeg
+Copyright(c) 2010-2021 Zoltan Herczeg
All rights reserved.
@@ -261,7 +261,7 @@ Written by: Zoltan Herczeg
Email local part: hzmester
Email domain: freemail.hu
-Copyright(c) 2009-2020 Zoltan Herczeg
+Copyright(c) 2009-2021 Zoltan Herczeg
All rights reserved.
diff --git a/contrib/libs/pcre/AUTHORS b/contrib/libs/pcre/AUTHORS
index bb8b32835b..b3398bbc47 100644
--- a/contrib/libs/pcre/AUTHORS
+++ b/contrib/libs/pcre/AUTHORS
@@ -2,13 +2,13 @@ THE MAIN PCRE LIBRARY
---------------------
Written by: Philip Hazel
-Email local part: ph10
-Email domain: cam.ac.uk
+Email local part: Philip.Hazel
+Email domain: gmail.com
University of Cambridge Computing Service,
Cambridge, England.
-Copyright (c) 1997-2020 University of Cambridge
+Copyright (c) 1997-2021 University of Cambridge
All rights reserved
@@ -19,7 +19,7 @@ Written by: Zoltan Herczeg
Email local part: hzmester
Emain domain: freemail.hu
-Copyright(c) 2010-2020 Zoltan Herczeg
+Copyright(c) 2010-2021 Zoltan Herczeg
All rights reserved.
@@ -30,7 +30,7 @@ Written by: Zoltan Herczeg
Email local part: hzmester
Emain domain: freemail.hu
-Copyright(c) 2009-2020 Zoltan Herczeg
+Copyright(c) 2009-2021 Zoltan Herczeg
All rights reserved.
diff --git a/contrib/libs/pcre/ChangeLog b/contrib/libs/pcre/ChangeLog
index 04d1ef5b2c..8321c7d89a 100644
--- a/contrib/libs/pcre/ChangeLog
+++ b/contrib/libs/pcre/ChangeLog
@@ -1,8 +1,25 @@
ChangeLog for PCRE
------------------
-Note that the PCRE 8.xx series (PCRE1) is now in a bugfix-only state. All
-development is happening in the PCRE2 10.xx series.
+Note that the PCRE 8.xx series (PCRE1) is now at end of life. All development
+is happening in the PCRE2 10.xx series.
+
+
+Version 8.45 15-June-2021
+-------------------------
+
+This is the final release of PCRE1. A few minor tidies are included.
+
+1. CMakeLists.txt has two user-supplied patches applied, one to allow for the
+setting of MODULE_PATH, and the other to support the generation of pcre-config
+file and libpcre*.pc files.
+
+2. There was a memory leak if a compile error occurred when there were more
+than 20 named groups (Bugzilla #2613).
+
+3. Fixed some typos in code and documentation.
+
+4. Fixed a small (*MARK) bug in the interpreter (Bugzilla #2771).
Version 8.44 12 February-2020
@@ -3022,7 +3039,7 @@ Version 7.7 07-May-08
18. Changed CMakeLists.txt and cmake/FindReadline.cmake to arrange for the
ncurses library to be included for pcretest when ReadLine support is
requested, but also to allow for it to be overridden. This patch came from
- Daniel Bergström.
+ Daniel Bergström.
19. There was a typo in the file ucpinternal.h where f0_rangeflag was defined
as 0x00f00000 instead of 0x00800000. Luckily, this would not have caused
@@ -3250,7 +3267,7 @@ Version 7.4 21-Sep-07
windows.h file is present (where different names are used). [This was
reversed later after testing - see 16 below.]
-8. Changed all #include <config.h> to #include "config.h". There were also
+8. Changed all #include <config.h> to #include "pcre_config.h". There were also
some further <pcre.h> cases that I changed to "pcre.h".
9. When pcregrep was used with the --colour option, it missed the line ending
@@ -3294,7 +3311,7 @@ Version 7.3 28-Aug-07
---------------------
1. In the rejigging of the build system that eventually resulted in 7.1, the
- line "#include <pcre.h>" was included in pcre_internal.h. The use of angle
+ line "#include "pcre.h"" was included in pcre_internal.h. The use of angle
brackets there is not right, since it causes compilers to look for an
installed pcre.h, not the version that is in the source that is being
compiled (which of course may be different). I have changed it back to:
diff --git a/contrib/libs/pcre/LICENCE b/contrib/libs/pcre/LICENCE
index 57a544814c..803b4119e5 100644
--- a/contrib/libs/pcre/LICENCE
+++ b/contrib/libs/pcre/LICENCE
@@ -19,13 +19,13 @@ THE BASIC LIBRARY FUNCTIONS
---------------------------
Written by: Philip Hazel
-Email local part: ph10
-Email domain: cam.ac.uk
+Email local part: Philip.Hazel
+Email domain: gmail.com
University of Cambridge Computing Service,
Cambridge, England.
-Copyright (c) 1997-2020 University of Cambridge
+Copyright (c) 1997-2021 University of Cambridge
All rights reserved.
@@ -36,7 +36,7 @@ Written by: Zoltan Herczeg
Email local part: hzmester
Email domain: freemail.hu
-Copyright(c) 2010-2020 Zoltan Herczeg
+Copyright(c) 2010-2021 Zoltan Herczeg
All rights reserved.
@@ -47,7 +47,7 @@ Written by: Zoltan Herczeg
Email local part: hzmester
Email domain: freemail.hu
-Copyright(c) 2009-2020 Zoltan Herczeg
+Copyright(c) 2009-2021 Zoltan Herczeg
All rights reserved.
diff --git a/contrib/libs/pcre/NEWS b/contrib/libs/pcre/NEWS
index 3d91b67dfa..bec4d4b3d3 100644
--- a/contrib/libs/pcre/NEWS
+++ b/contrib/libs/pcre/NEWS
@@ -1,8 +1,14 @@
News about PCRE releases
------------------------
-Note that this library (now called PCRE1) is now being maintained for bug fixes
-only. New projects are advised to use the new PCRE2 libraries.
+Note that this library (now called PCRE1) is no longer being maintained. New
+projects are advised to use the PCRE2 libraries.
+
+
+Release 8.45 15-June-2021
+-----------------------------
+
+This is the final PCRE1 release. A very few small issues have been fixed.
Release 8.44 12-February-2020
diff --git a/contrib/libs/pcre/NON-AUTOTOOLS-BUILD b/contrib/libs/pcre/NON-AUTOTOOLS-BUILD
index 37f6164475..23c4e64f84 100644
--- a/contrib/libs/pcre/NON-AUTOTOOLS-BUILD
+++ b/contrib/libs/pcre/NON-AUTOTOOLS-BUILD
@@ -5,8 +5,8 @@ NOTE: This document relates to PCRE releases that use the original API, with
library names libpcre, libpcre16, and libpcre32. January 2015 saw the first
release of a new API, known as PCRE2, with release numbers starting at 10.00
and library names libpcre2-8, libpcre2-16, and libpcre2-32. The old libraries
-(now called PCRE1) are still being maintained for bug fixes, but there will be
-no new development. New projects are advised to use the new PCRE2 libraries.
+(now called PCRE1) are now at end of life, and 8.45 is the final release. New
+projects are advised to use the new PCRE2 libraries.
This document contains the following sections:
@@ -768,6 +768,6 @@ Everything, source and executable, is in EBCDIC and native z/OS file formats.
However, this software is not maintained and will not be upgraded. If you are
new to PCRE you should be looking at PCRE2 (version 10.30 or later).
-===============================
-Last Updated: 13 September 2017
-===============================
+==========================
+Last Updated: 15 June 2021
+==========================
diff --git a/contrib/libs/pcre/README b/contrib/libs/pcre/README
index 334362b3e5..65f5e19ef6 100644
--- a/contrib/libs/pcre/README
+++ b/contrib/libs/pcre/README
@@ -5,9 +5,8 @@ NOTE: This set of files relates to PCRE releases that use the original API,
with library names libpcre, libpcre16, and libpcre32. January 2015 saw the
first release of a new API, known as PCRE2, with release numbers starting at
10.00 and library names libpcre2-8, libpcre2-16, and libpcre2-32. The old
-libraries (now called PCRE1) are still being maintained for bug fixes, but
-there will be no new development. New projects are advised to use the new PCRE2
-libraries.
+libraries (now called PCRE1) are now at end of life, and 8.45 is the final
+release. New projects are advised to use the new PCRE2 libraries.
The latest release of PCRE1 is always available in three alternative formats
@@ -998,6 +997,6 @@ pcre_xxx, one with the name pcre16_xx, and a third with the name pcre32_xxx.
RunTest.bat a script for running tests under Windows
Philip Hazel
-Email local part: ph10
-Email domain: cam.ac.uk
-Last updated: 12 February 2020
+Email local part: Philip.Hazel
+Email domain: gmail.com
+Last updated: 15 June 2021
diff --git a/contrib/libs/pcre/pcre.h b/contrib/libs/pcre/pcre.h
index 86e3956c21..bee1fe6ffd 100644
--- a/contrib/libs/pcre/pcre.h
+++ b/contrib/libs/pcre/pcre.h
@@ -42,9 +42,9 @@ POSSIBILITY OF SUCH DAMAGE.
/* The current PCRE version information. */
#define PCRE_MAJOR 8
-#define PCRE_MINOR 44
+#define PCRE_MINOR 45
#define PCRE_PRERELEASE
-#define PCRE_DATE 2020-02-12
+#define PCRE_DATE 2021-06-15
/* When an application links to a PCRE DLL in Windows, the symbols that are
imported have to be identified as such. When building PCRE, the appropriate
diff --git a/contrib/libs/pcre/pcre_compile.c b/contrib/libs/pcre/pcre_compile.c
index 8051988093..e81b0cbbc8 100644
--- a/contrib/libs/pcre/pcre_compile.c
+++ b/contrib/libs/pcre/pcre_compile.c
@@ -6,7 +6,7 @@
and semantics are as close as possible to those of the Perl 5 language.
Written by Philip Hazel
- Copyright (c) 1997-2020 University of Cambridge
+ Copyright (c) 1997-2021 University of Cambridge
-----------------------------------------------------------------------------
Redistribution and use in source and binary forms, with or without
@@ -9099,6 +9099,8 @@ pcre_uchar cworkspace[COMPILE_WORK_SIZE];
similar way to cworkspace, it can be expanded using malloc() if necessary. */
named_group named_groups[NAMED_GROUP_LIST_SIZE];
+cd->named_groups = named_groups;
+cd->named_group_list_size = NAMED_GROUP_LIST_SIZE;
/* Set this early so that early errors get offset 0. */
@@ -9372,8 +9374,6 @@ cd->hwm = cworkspace;
cd->iscondassert = FALSE;
cd->start_workspace = cworkspace;
cd->workspace_size = COMPILE_WORK_SIZE;
-cd->named_groups = named_groups;
-cd->named_group_list_size = NAMED_GROUP_LIST_SIZE;
cd->start_pattern = (const pcre_uchar *)pattern;
cd->end_pattern = (const pcre_uchar *)(pattern + STRLEN_UC((const pcre_uchar *)pattern));
cd->req_varyopt = 0;
@@ -9484,6 +9484,7 @@ if (cd->names_found > 0)
add_name(cd, ng->name, ng->length, ng->number);
if (cd->named_group_list_size > NAMED_GROUP_LIST_SIZE)
(PUBL(free))((void *)cd->named_groups);
+ cd->named_group_list_size = 0; /* So we don't free it twice */
}
/* Set up a starting, non-extracting bracket, then compile the expression. On
@@ -9634,6 +9635,8 @@ if (errorcode != 0)
{
(PUBL(free))(re);
PCRE_EARLY_ERROR_RETURN:
+ if (cd->named_group_list_size > NAMED_GROUP_LIST_SIZE)
+ (PUBL(free))((void *)cd->named_groups);
*erroroffset = (int)(ptr - (const pcre_uchar *)pattern);
PCRE_EARLY_ERROR_RETURN2:
*errorptr = find_error_text(errorcode);
diff --git a/contrib/libs/pcre/pcre_config.h b/contrib/libs/pcre/pcre_config.h
index 622b2ec59b..7c3352964a 100644
--- a/contrib/libs/pcre/pcre_config.h
+++ b/contrib/libs/pcre/pcre_config.h
@@ -85,9 +85,6 @@ sure both macros are undefined; an emulation function will then be used. */
/* Define to 1 if you have the `memmove' function. */
#define HAVE_MEMMOVE 1
-/* Define to 1 if you have the <memory.h> header file. */
-#define HAVE_MEMORY_H 1
-
/* Define if you have POSIX threads libraries and header files. */
#define HAVE_PTHREAD 1
@@ -103,6 +100,9 @@ sure both macros are undefined; an emulation function will then be used. */
/* Define to 1 if you have the <stdint.h> header file. */
#define HAVE_STDINT_H 1
+/* Define to 1 if you have the <stdio.h> header file. */
+#define HAVE_STDIO_H 1
+
/* Define to 1 if you have the <stdlib.h> header file. */
#define HAVE_STDLIB_H 1
@@ -221,7 +221,7 @@ sure both macros are undefined; an emulation function will then be used. */
#define PACKAGE_NAME "PCRE"
/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "PCRE 8.44"
+#define PACKAGE_STRING "PCRE 8.45"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "pcre"
@@ -230,7 +230,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 "8.44"
+#define PACKAGE_VERSION "8.45"
/* 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
@@ -290,7 +290,9 @@ sure both macros are undefined; an emulation function will then be used. */
your system. */
/* #undef PTHREAD_CREATE_JOINABLE */
-/* Define to 1 if you have the ANSI C header files. */
+/* Define to 1 if all of the C90 standard headers exist (not just the ones
+ required in a freestanding environment). This macro is provided for
+ backward compatibility; new code need not use it. */
#define STDC_HEADERS 1
#ifdef ARCADIA_PCRE_ENABLE_JIT
@@ -339,7 +341,7 @@ sure both macros are undefined; an emulation function will then be used. */
/* #undef SUPPORT_VALGRIND */
/* Version number of package */
-#define VERSION "8.44"
+#define VERSION "8.45"
/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */
diff --git a/contrib/libs/pcre/pcre_exec.c b/contrib/libs/pcre/pcre_exec.c
index 4b5cb73fea..608f437626 100644
--- a/contrib/libs/pcre/pcre_exec.c
+++ b/contrib/libs/pcre/pcre_exec.c
@@ -6,7 +6,7 @@
and semantics are as close as possible to those of the Perl 5 language.
Written by Philip Hazel
- Copyright (c) 1997-2018 University of Cambridge
+ Copyright (c) 1997-2021 University of Cambridge
-----------------------------------------------------------------------------
Redistribution and use in source and binary forms, with or without
@@ -764,7 +764,7 @@ for (;;)
md->mark = NULL; /* In case previously set by assertion */
RMATCH(eptr, ecode + PRIV(OP_lengths)[*ecode] + ecode[1], offset_top, md,
eptrb, RM55);
- if ((rrc == MATCH_MATCH || rrc == MATCH_ACCEPT) &&
+ if ((rrc == MATCH_MATCH || rrc == MATCH_ACCEPT || rrc == MATCH_KETRPOS) &&
md->mark == NULL) md->mark = ecode + 2;
/* A return of MATCH_SKIP_ARG means that matching failed at SKIP with an