[pcre-dev] [Bug 1830] pcre2posix defines the same names as P…

Página superior
Eliminar este mensaje
Autor: admin
Fecha:  
A: pcre-dev
Temas antiguos: [pcre-dev] [Bug 1830] New: pcre2posix defines the same names as POSIX
Asunto: [pcre-dev] [Bug 1830] pcre2posix defines the same names as POSIX
https://bugs.exim.org/show_bug.cgi?id=1830

--- Comment #12 from Philip Hazel <ph10@???> ---
First let me say that this is too late for 10.32, which I'm expecting to
release later on today.

I am not at all knowledgeable about linking details, but surely your suggestion
won't work because the regcomp() called from pcre2posix_regcomp() could still
be picked up from the wrong library.

Perhaps doing it the other way would help, that is, making the name of the
actual function pcre2_regcomp() and making regcomp() in the pcre2posix library
a wrapper for that. Then an application could call pcre2_regcomp() and be sure
of getting the PCRE2 version; if it called regcomp() it would be as now.

--
You are receiving this mail because:
You are on the CC list for the bug.