Revision: 518
http://www.exim.org/viewvc/pcre2?view=rev&revision=518
Author: ph10
Date: 2016-05-25 09:42:31 +0100 (Wed, 25 May 2016)
Log Message:
-----------
Fix typo in test program.
Modified Paths:
--------------
code/trunk/ChangeLog
code/trunk/src/pcre2_jit_test.c
Modified: code/trunk/ChangeLog
===================================================================
--- code/trunk/ChangeLog 2016-05-24 16:37:13 UTC (rev 517)
+++ code/trunk/ChangeLog 2016-05-25 08:42:31 UTC (rev 518)
@@ -116,7 +116,9 @@
28. Add a bit more sanity checking to pcre2_serialize_decode() and document
that it expects trusted data.
+29. Fix typo in pcre2_jit_test.c
+
Version 10.21 12-January-2016
-----------------------------
Modified: code/trunk/src/pcre2_jit_test.c
===================================================================
--- code/trunk/src/pcre2_jit_test.c 2016-05-24 16:37:13 UTC (rev 517)
+++ code/trunk/src/pcre2_jit_test.c 2016-05-25 08:42:31 UTC (rev 518)
@@ -1532,10 +1532,10 @@
is_successful = 0;
}
#endif
-#if defined SUPPORT_PCRE2_16 && defined SUPPORT_PCRE2_16
- if (ovector16_1[i] != ovector16_2[i] || ovector16_1[i] != ovector16_1[i] || ovector16_1[i] != ovector16_2[i]) {
- printf("\n16 and 16 bit: Ovector[%d] value differs(J16:%d,I16:%d,J32:%d,I32:%d): [%d] '%s' @ '%s' \n",
- i, ovector16_1[i], ovector16_2[i], ovector16_1[i], ovector16_2[i],
+#if defined SUPPORT_PCRE2_16 && defined SUPPORT_PCRE2_32
+ if (ovector16_1[i] != ovector16_2[i] || ovector16_1[i] != ovector32_1[i] || ovector16_1[i] != ovector32_2[i]) {
+ printf("\n16 and 32 bit: Ovector[%d] value differs(J16:%d,I16:%d,J32:%d,I32:%d): [%d] '%s' @ '%s' \n",
+ i, ovector16_1[i], ovector16_2[i], ovector32_1[i], ovector32_2[i],
total, current->pattern, current->input);
is_successful = 0;
}