Blame SOURCES/pcre-8.34-RC1-Fix-XCLASS-POSIX-types-in-JIT.patch

cb7dd8
From 2cadfa0ec8900bb784aa4c4171ad5aec0e9b7edf Mon Sep 17 00:00:00 2001
cb7dd8
From: zherczeg <zherczeg@2f5784b3-3f2a-0410-8824-cb99058d5e15>
cb7dd8
Date: Sat, 30 Nov 2013 07:05:00 +0000
cb7dd8
Subject: [PATCH] Fix XCLASS POSIX types in JIT.
cb7dd8
MIME-Version: 1.0
cb7dd8
Content-Type: text/plain; charset=UTF-8
cb7dd8
Content-Transfer-Encoding: 8bit
cb7dd8
cb7dd8
git-svn-id: svn://vcs.exim.org/pcre/code/trunk@1406 2f5784b3-3f2a-0410-8824-cb99058d5e15
cb7dd8
Signed-off-by: Petr Písař <ppisar@redhat.com>
cb7dd8
---
cb7dd8
 pcre_jit_compile.c | 8 ++++----
cb7dd8
 1 file changed, 4 insertions(+), 4 deletions(-)
cb7dd8
cb7dd8
diff --git a/pcre_jit_compile.c b/pcre_jit_compile.c
cb7dd8
index c71b5a4..15555a6 100644
cb7dd8
--- a/pcre_jit_compile.c
cb7dd8
+++ b/pcre_jit_compile.c
cb7dd8
@@ -4431,10 +4431,10 @@ while (*cc != XCL_END)
cb7dd8
       OP2(SLJIT_SUB | SLJIT_SET_U, SLJIT_UNUSED, 0, TMP1, 0, SLJIT_IMM, 0x2069 - 0x2066);
cb7dd8
       OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_UNUSED, 0, SLJIT_C_LESS_EQUAL);
cb7dd8
 
cb7dd8
-      OP2(SLJIT_SUB | SLJIT_SET_U, SLJIT_UNUSED, 0, TMP1, 0, SLJIT_IMM, 0x061c - 0x2066);
cb7dd8
+      OP2(SLJIT_SUB | SLJIT_SET_E, SLJIT_UNUSED, 0, TMP1, 0, SLJIT_IMM, 0x061c - 0x2066);
cb7dd8
       OP_FLAGS(SLJIT_OR, TMP2, 0, TMP2, 0, SLJIT_C_EQUAL);
cb7dd8
 
cb7dd8
-      OP2(SLJIT_SUB | SLJIT_SET_U, SLJIT_UNUSED, 0, TMP1, 0, SLJIT_IMM, 0x180e - 0x2066);
cb7dd8
+      OP2(SLJIT_SUB | SLJIT_SET_E, SLJIT_UNUSED, 0, TMP1, 0, SLJIT_IMM, 0x180e - 0x2066);
cb7dd8
       OP_FLAGS(SLJIT_OR, TMP2, 0, TMP2, 0, SLJIT_C_EQUAL);
cb7dd8
 
cb7dd8
       JUMPHERE(jump);
cb7dd8
@@ -4447,7 +4447,7 @@ while (*cc != XCL_END)
cb7dd8
       OP2(SLJIT_SUB | SLJIT_SET_U, SLJIT_UNUSED, 0, typereg, 0, SLJIT_IMM, ucp_So - ucp_Ll);
cb7dd8
       OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_UNUSED, 0, SLJIT_C_GREATER);
cb7dd8
 
cb7dd8
-      OP2(SLJIT_SUB | SLJIT_SET_U, SLJIT_UNUSED, 0, typereg, 0, SLJIT_IMM, ucp_Zs - ucp_Ll);
cb7dd8
+      OP2(SLJIT_SUB | SLJIT_SET_E, SLJIT_UNUSED, 0, typereg, 0, SLJIT_IMM, ucp_Zs - ucp_Ll);
cb7dd8
       OP_FLAGS(SLJIT_AND, TMP2, 0, TMP2, 0, SLJIT_C_NOT_EQUAL);
cb7dd8
 
cb7dd8
       jump = CMP(SLJIT_C_NOT_EQUAL, typereg, 0, SLJIT_IMM, ucp_Cf - ucp_Ll);
cb7dd8
@@ -4457,7 +4457,7 @@ while (*cc != XCL_END)
cb7dd8
       OP2(SLJIT_SUB | SLJIT_SET_U, SLJIT_UNUSED, 0, TMP1, 0, SLJIT_IMM, 0x2069 - 0x2066);
cb7dd8
       OP_FLAGS(SLJIT_MOV, TMP2, 0, SLJIT_UNUSED, 0, SLJIT_C_LESS_EQUAL);
cb7dd8
 
cb7dd8
-      OP2(SLJIT_SUB | SLJIT_SET_U, SLJIT_UNUSED, 0, TMP1, 0, SLJIT_IMM, 0x061c - 0x2066);
cb7dd8
+      OP2(SLJIT_SUB | SLJIT_SET_E, SLJIT_UNUSED, 0, TMP1, 0, SLJIT_IMM, 0x061c - 0x2066);
cb7dd8
       OP_FLAGS(SLJIT_OR, TMP2, 0, TMP2, 0, SLJIT_C_EQUAL);
cb7dd8
 
cb7dd8
       JUMPHERE(jump);
cb7dd8
-- 
cb7dd8
2.7.4
cb7dd8