Re: [pcre-dev] [Bug 733] pcre_fullinfo() returns wrongPCRE_…

Page principale
Supprimer ce message
Auteur: Philip Hazel
Date:  
À: A.Steenveld
CC: pcre-dev
Sujet: Re: [pcre-dev] [Bug 733] pcre_fullinfo() returns wrongPCRE_INFO_NAMECOUNT on some patterns
On Wed, 16 Jul 2008, A.Steenveld@??? wrote:

> What else can I do to test?


Please put on the "options" patch that was posted here (see below) and
check whether it fixes the problem. Thanks very much for testing.

Philip

--
Philip Hazel



--- pcre-7.7/pcre_compile.c Mon Apr 28 16:06:46 2008
+++ pcre_compile.c Wed Jul 16 01:55:36 2008
@@ -4931,7 +4931,7 @@
(lengthptr == NULL || *lengthptr == 2 + 2*LINK_SIZE))
{
cd->external_options = newoptions;
- options = newoptions;
+ *optionsptr = options = newoptions;
}
else
{