Blame SOURCES/pcre2-10.32-Forgot-this-file-in-previous-commit.-Fixes-JIT-non-U.patch

054d38
From 79fb8db65fa27070aac6dde8d6d468306ab6b9a9 Mon Sep 17 00:00:00 2001
054d38
From: ph10 <ph10@6239d852-aaf2-0410-a92c-79f79f948069>
054d38
Date: Mon, 13 May 2019 16:38:18 +0000
054d38
Subject: [PATCH] Forgot this file in previous commit. Fixes JIT non-UTF bug.
054d38
MIME-Version: 1.0
054d38
Content-Type: text/plain; charset=UTF-8
054d38
Content-Transfer-Encoding: 8bit
054d38
054d38
git-svn-id: svn://vcs.exim.org/pcre2/code/trunk@1092 6239d852-aaf2-0410-a92c-79f79f948069
054d38
Petr Písař: Ported to 10.32.
054d38
054d38
Signed-off-by: Petr Písař <ppisar@redhat.com>
054d38
---
054d38
 src/pcre2_jit_compile.c | 5 ++++-
054d38
 1 file changed, 4 insertions(+), 1 deletion(-)
054d38
054d38
diff --git a/src/pcre2_jit_compile.c b/src/pcre2_jit_compile.c
054d38
index 3cd3891..100b63c 100644
054d38
--- a/src/pcre2_jit_compile.c
054d38
+++ b/src/pcre2_jit_compile.c
054d38
@@ -7288,7 +7288,10 @@ int lgb, rgb, ricount;
054d38
 PCRE2_SPTR bptr;
054d38
 uint32_t c;
054d38
 
054d38
-GETCHARINC(c, cc);
054d38
+/* Patch by PH */
054d38
+/* GETCHARINC(c, cc); */
054d38
+
054d38
+c = *cc++;
054d38
 lgb = UCD_GRAPHBREAK(c);
054d38
 
054d38
 while (cc < end_subject)
054d38
-- 
054d38
2.20.1
054d38