[pcre-dev] [Bug 595] New: PCRE_ERROR_NULLWSLIMIT missing fro…

Page principale
Supprimer ce message
Auteur: snowcrash+exim
Date:  
À: pcre-dev
Sujet: [pcre-dev] [Bug 595] New: PCRE_ERROR_NULLWSLIMIT missing from include files in 'new' pcre v7.3 builds
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=595
           Summary: PCRE_ERROR_NULLWSLIMIT missing from include files in
                    'new' pcre v7.3 builds
           Product: PCRE
           Version: N/A
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: bug
          Priority: high
         Component: Code
        AssignedTo: ph10@???
        ReportedBy: schneecrash+exim@???
                CC: pcre-dev@???



i build/use pcre-7.2 from source on osx. no issues.

i've just updated to recently released pcre-7.3. builds, apparently without
error:

pcretest -C
        PCRE version 7.3 2007-08-28
        Compiled with
          UTF-8 support
          Unicode properties support
          Newline sequence is LF
          Internal link size = 2
          POSIX malloc threshold = 10
          Default match limit = 10000000
          Default recursion depth limit = 10000000
          Match recursion uses stack



in building glib-2.14.0 from src, if i config with

        --with-pcre=internal


the bundled pcre v7.2 is used, and all's ok.

but, if i configure to use my 'new' pcre v7.3,

        --with-pcre=system


'make' fails @

        "'PCRE_ERROR_NULLWSLIMIT' undeclared"


checking, i note,

diff -ur /usr/ports/temp/pcre-7.2/pcre.h /usr/ports/pcre-7.3/pcre.h | egrep
-B5 -A5 PCRE_ERROR_NULLWSLIMIT

        @@ -132,7 +147,7 @@
         #define PCRE_ERROR_DFA_WSSIZE     (-19)
         #define PCRE_ERROR_DFA_RECURSE    (-20)
         #define PCRE_ERROR_RECURSIONLIMIT (-21)
        -#define PCRE_ERROR_NULLWSLIMIT    (-22)
        +#define PCRE_ERROR_NOTUSED        (-22)
         #define PCRE_ERROR_BADNEWLINE     (-23)


         /* Request types for pcre_fullinfo() */
        @@ -152,6 +167,7 @@


the symbol definition has, apparently, been removed.


in the source tree, the only reference to the symbol is in './pcregexp.pas'


checking further,

  egrep -B10 -A10 PCRE_ERROR_NULLWSLIMIT /usr/ports/pcre-7.3/pcregexp.pas
         PCRE_ERROR_INTERNAL       = -14;
         PCRE_ERROR_BADCOUNT       = -15;
        {$ENDIF}
        {$IFDEF PCRE_7_0}
         PCRE_ERROR_DFA_UITEM      = -16;
         PCRE_ERROR_DFA_UCOND      = -17;
         PCRE_ERROR_DFA_UMLIMIT    = -18;
         PCRE_ERROR_DFA_WSSIZE     = -19;
         PCRE_ERROR_DFA_RECURSE    = -20;
         PCRE_ERROR_RECURSIONLIMIT = -21;
         PCRE_ERROR_NULLWSLIMIT    = -22;
         PCRE_ERROR_BADNEWLINE     = -23;
        {$ENDIF}


        { Request types for pcre_fullinfo() }


         PCRE_INFO_OPTIONS         =  0;
         PCRE_INFO_SIZE            =  1;
         PCRE_INFO_CAPTURECOUNT    =  2;
         PCRE_INFO_BACKREFMAX      =  3;
         PCRE_INFO_FIRSTBYTE       =  4;


  egrep -B10 -A10 PCRE_ERROR_NULLWSLIMIT /usr/ports/temp/pcre-7.2/pcregexp.pas
         PCRE_ERROR_INTERNAL       = -14;
         PCRE_ERROR_BADCOUNT       = -15;
        {$ENDIF}
        {$IFDEF PCRE_7_0}
         PCRE_ERROR_DFA_UITEM      = -16;
         PCRE_ERROR_DFA_UCOND      = -17;
         PCRE_ERROR_DFA_UMLIMIT    = -18;
         PCRE_ERROR_DFA_WSSIZE     = -19;
         PCRE_ERROR_DFA_RECURSE    = -20;
         PCRE_ERROR_RECURSIONLIMIT = -21;
         PCRE_ERROR_NULLWSLIMIT    = -22;
         PCRE_ERROR_BADNEWLINE     = -23;
        {$ENDIF}


        { Request types for pcre_fullinfo() }


         PCRE_INFO_OPTIONS         =  0;
         PCRE_INFO_SIZE            =  1;
         PCRE_INFO_CAPTURECOUNT    =  2;
         PCRE_INFO_BACKREFMAX      =  3;
         PCRE_INFO_FIRSTBYTE       =  4;


looks the same :-/


also, i've verified that the symbol is missing in the pcre-7.3 install via
FreeBSD's port system -- same as reported above.

as there's no other mention of the symbol in, e.g., "CHANGES", i'm guessing
this is (may be?) a bug ...


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email