summaryrefslogtreecommitdiff
path: root/extra/apache/pcre_info.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/apache/pcre_info.patch')
-rw-r--r--extra/apache/pcre_info.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/extra/apache/pcre_info.patch b/extra/apache/pcre_info.patch
new file mode 100644
index 000000000..f1774db63
--- /dev/null
+++ b/extra/apache/pcre_info.patch
@@ -0,0 +1,11 @@
+--- httpd-2.2.22/server/util_pcre.c 2005-11-11 01:20:05.000000000 +1000
++++ httpd-2.2.22/server/util_pcre.c 2012-02-06 23:45:37.687946748 +1000
+@@ -137,7 +137,7 @@
+
+ if (preg->re_pcre == NULL) return AP_REG_INVARG;
+
+-preg->re_nsub = pcre_info((const pcre *)preg->re_pcre, NULL, NULL);
++preg->re_nsub = pcre_fullinfo((const pcre *)preg->re_pcre, NULL, NULL, NULL);
+ return 0;
+ }
+