2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-09-27 20:49:06 +00:00

fix PCRE calls to remove use of deprecated API

pcre_info -> pcre_fullinfo.  Closes issue 3489349.  Thanks Tim Harder.
This commit is contained in:
Jay Berkenbilt 2012-04-06 21:47:46 -04:00
parent e3c9512b25
commit 01bcda8974

View File

@ -144,7 +144,7 @@ PCRE::PCRE(char const* pattern, int options)
this->code = pcre_compile(pattern, options, &errptr, &erroffset, 0);
if (this->code)
{
this->nbackrefs = pcre_info(this->code, 0, 0);
pcre_fullinfo(this->code, 0, PCRE_INFO_CAPTURECOUNT, &(this->nbackrefs));
}
else
{