38 lines
1.8 KiB
Diff
38 lines
1.8 KiB
Diff
Index: pcre2-10.39/src/pcre2posix.c
|
|
===================================================================
|
|
--- pcre2-10.39.orig/src/pcre2posix.c 2021-08-31 18:12:05.000000000 +0200
|
|
+++ pcre2-10.39/src/pcre2posix.c 2022-03-15 17:46:34.705052429 +0100
|
|
@@ -176,19 +176,7 @@ static const char *const pstring[] = {
|
|
|
|
|
|
|
|
-#if 0 /* REMOVE THIS CODE */
|
|
-
|
|
-The code below was created for 10.33 (see ChangeLog 10.33 #4) when the
|
|
-POSIX functions were given pcre2_... names instead of the traditional POSIX
|
|
-names. However, it has proved to be more troublesome than useful. There have
|
|
-been at least two cases where a program links with two others, one of which
|
|
-uses the POSIX library and the other uses the PCRE2 POSIX functions, thus
|
|
-causing two instances of the POSIX runctions to exist, leading to trouble. For
|
|
-10.37 this code is commented out. In due course it can be removed if there are
|
|
-no issues. The only small worry is the comment below about languages that do
|
|
-not include pcre2posix.h. If there are any such cases, they will have to use
|
|
-the PCRE2 names.
|
|
-
|
|
+#if 1
|
|
|
|
/*************************************************
|
|
* Wrappers with traditional POSIX names *
|
|
Index: pcre2-10.39/configure.ac
|
|
===================================================================
|
|
--- pcre2-10.39.orig/configure.ac 2021-10-29 17:30:33.000000000 +0200
|
|
+++ pcre2-10.39/configure.ac 2022-03-15 17:46:47.681128564 +0100
|
|
@@ -17,7 +17,7 @@ m4_define(pcre2_date, [2021-10-29])
|
|
m4_define(libpcre2_8_version, [10:4:10])
|
|
m4_define(libpcre2_16_version, [10:4:10])
|
|
m4_define(libpcre2_32_version, [10:4:10])
|
|
-m4_define(libpcre2_posix_version, [3:1:0])
|
|
+m4_define(libpcre2_posix_version, [2:4:0])
|
|
|
|
# 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.
|