From 05e72d53a6b0546d67dc699f922811790a896fb3 Mon Sep 17 00:00:00 2001 From: Giuseppe D'Angelo Date: Mon, 12 Dec 2022 18:57:20 +0100 Subject: PCRE2: upgrade to 10.42 Upstream released 10.41 and 10.42 in quick succession. [ChangeLog][Third-Party Code] PCRE2 has been updated to 10.42. Change-Id: Iadec8e64e9ce7ddad17afb075157719af76379bd Pick-to: 5.15 6.2 6.4 6.5 Reviewed-by: Volker Hilsheimer --- src/3rdparty/pcre2/src/pcre2_context.c | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src/3rdparty/pcre2/src/pcre2_context.c') diff --git a/src/3rdparty/pcre2/src/pcre2_context.c b/src/3rdparty/pcre2/src/pcre2_context.c index f904a494a0..8e05ede50c 100644 --- a/src/3rdparty/pcre2/src/pcre2_context.c +++ b/src/3rdparty/pcre2/src/pcre2_context.c @@ -7,7 +7,7 @@ and semantics are as close as possible to those of the Perl 5 language. Written by Philip Hazel Original API code Copyright (c) 1997-2012 University of Cambridge - New API code Copyright (c) 2016-2018 University of Cambridge + New API code Copyright (c) 2016-2022 University of Cambridge ----------------------------------------------------------------------------- Redistribution and use in source and binary forms, with or without @@ -443,8 +443,11 @@ mcontext->offset_limit = limit; return 0; } -/* This function became obsolete at release 10.30. It is kept as a synonym for -backwards compatibility. */ +/* These functions became obsolete at release 10.30. The first is kept as a +synonym for backwards compatibility. The second now does nothing. Exclude both +from coverage reports. */ + +/* LCOV_EXCL_START */ PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_recursion_limit(pcre2_match_context *mcontext, uint32_t limit) @@ -464,6 +467,9 @@ pcre2_set_recursion_memory_management(pcre2_match_context *mcontext, return 0; } +/* LCOV_EXCL_STOP */ + + /* ------------ Convert context ------------ */ PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION -- cgit v1.2.3