Revision: 402
http://vcs.pcre.org/viewvc?view=rev&revision=402
Author: ph10
Date: 2009-03-21 17:26:03 +0000 (Sat, 21 Mar 2009)
Log Message:
-----------
Add missing #ifdef SUPPORT_UTF8 round heapframe::Xcharptr.
Modified Paths:
--------------
code/trunk/ChangeLog
code/trunk/pcre_exec.c
Modified: code/trunk/ChangeLog
===================================================================
--- code/trunk/ChangeLog 2009-03-21 17:13:18 UTC (rev 401)
+++ code/trunk/ChangeLog 2009-03-21 17:26:03 UTC (rev 402)
@@ -86,6 +86,10 @@
vector, but for larger vectors malloc() is used. It was failing to free
when the recursion yielded PCRE_ERROR_MATCH_LIMIT (or any other "abnormal"
error, in fact).
+
+22. There was a missing #ifdef SUPPORT_UTF8 round one of the variables in the
+ heapframe that is used only when UTF-8 support is enabled. This caused no
+ problem, but was untidy.
Version 7.8 05-Sep-08
Modified: code/trunk/pcre_exec.c
===================================================================
--- code/trunk/pcre_exec.c 2009-03-21 17:13:18 UTC (rev 401)
+++ code/trunk/pcre_exec.c 2009-03-21 17:26:03 UTC (rev 402)
@@ -334,7 +334,9 @@
/* Function local variables */
const uschar *Xcallpat;
+#ifdef SUPPORT_UTF8
const uschar *Xcharptr;
+#endif
const uschar *Xdata;
const uschar *Xnext;
const uschar *Xpp;