Ticket #34384: patch-pcre-8.30.diff

File patch-pcre-8.30.diff, 402 bytes (added by ryandesign (Ryan Carsten Schmidt), 13 years ago)
  • libqpdf/PCRE.cc

    https://sourceforge.net/tracker/?func=detail&aid=3489349&group_id=224196&atid=1060899
    old new  
    144144    this->code = pcre_compile(pattern, options, &errptr, &erroffset, 0);
    145145    if (this->code)
    146146    {
    147         this->nbackrefs = pcre_info(this->code, 0, 0);
     147        pcre_fullinfo(this->code, 0, PCRE_INFO_CAPTURECOUNT, &(this->nbackrefs));
    148148    }
    149149    else
    150150    {