From 01bcda8974eb21e957eee9fdc90587f68f7c0a4f Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Fri, 6 Apr 2012 21:47:46 -0400 Subject: fix PCRE calls to remove use of deprecated API pcre_info -> pcre_fullinfo. Closes issue 3489349. Thanks Tim Harder. --- libqpdf/PCRE.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libqpdf') diff --git a/libqpdf/PCRE.cc b/libqpdf/PCRE.cc index d381db3b..2e808aa7 100644 --- a/libqpdf/PCRE.cc +++ b/libqpdf/PCRE.cc @@ -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 { -- cgit v1.2.3-54-g00ecf