Re: [pcre-dev] PCRE2 10.30-RC1 test release

Αρχική Σελίδα
Delete this message
Συντάκτης: Petr Pisar
Ημερομηνία:  
Προς: pcre-dev
Αντικείμενο: Re: [pcre-dev] PCRE2 10.30-RC1 test release
On Wed, Jul 19, 2017 at 05:12:39PM +0100, ph10@??? wrote:
> I have just put the tarballs for the 10.30-RC1 test release in the usual
> place:
>

libpcre2-8.so.0 library (as well as 16- and 32-bit variants) removed
pcre2_set_recursion_limit_8 symbol (as well as the variants). This makes the
library ABI incompatible and the library SONAME must change.

I can see you only renamed pcre2_set_depth_limit() to
pcre2_set_recursion_limit(). Then instead of (or in addition to) the
declaration in the header file:

+/* Keep this old function name for backwards compatibility */
+#define pcre2_set_recursion_limit pcre2_set_depth_limit

you could define the pcre2_set_recursion_limi() function the library as
a wrapper on top of pcre2_set_depth_limit() (or use some linker magic
or provide na alias). Then the library would preserve ABI and the SONAME could
be preserved.

-- Petr