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

Páxina inicial
Borrar esta mensaxe
Autor: Issaana
Data:  
Para: pcre-dev
Asunto: Re: [pcre-dev] [Bug 733] pcre_fullinfo() returns wrong PCRE_INFO_NAMECOUNT on some patterns
--- 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
             {


"[Pcre-svn] [360]" includes a modification of the effect same as the above.


Issaana