From 1d5dc71eb7e37fe26825750015d76d77232f3626 Mon Sep 17 00:00:00 2001 From: cvs2svn Date: Mon, 26 Mar 2012 08:04:09 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'RELEASE_8_3_0'. --- editors/emacs23/files/patch-src_coding.c | 51 -------------------------------- 1 file changed, 51 deletions(-) delete mode 100644 editors/emacs23/files/patch-src_coding.c (limited to 'editors/emacs23/files/patch-src_coding.c') diff --git a/editors/emacs23/files/patch-src_coding.c b/editors/emacs23/files/patch-src_coding.c deleted file mode 100644 index 9dd1a5e0f45d..000000000000 --- a/editors/emacs23/files/patch-src_coding.c +++ /dev/null @@ -1,51 +0,0 @@ - -$FreeBSD$ - ---- src/coding.c.orig -+++ src/coding.c -@@ -3853,8 +3853,20 @@ - else - charset = CHARSET_FROM_ID (charset_id_2); - ONE_MORE_BYTE (c1); -- if (c1 < 0x20 || (c1 >= 0x80 && c1 < 0xA0)) -- goto invalid_code; -+ /* -+ * N sequence is recognized as SS2 in some ISO2022 -+ * encodings. As a workaround, mark invalid only if -+ * N + GR in a 7-bit encoding or N + GL in an 8-bit -+ * encoding. -+ */ -+ if (CODING_ISO_FLAGS (coding) & CODING_ISO_FLAG_SEVEN_BITS) { -+ if (c1 < 0x20 || c1 >= 0x80) -+ goto invalid_code; -+ } -+ else { -+ if (c1 < 0xA0) -+ goto invalid_code; -+ } - break; - - case 'O': /* invocation of single-shift-3 */ -@@ -3867,8 +3879,20 @@ - else - charset = CHARSET_FROM_ID (charset_id_3); - ONE_MORE_BYTE (c1); -- if (c1 < 0x20 || (c1 >= 0x80 && c1 < 0xA0)) -- goto invalid_code; -+ /* -+ * O sequence by arrow keys is recognized as SS3 in -+ * some ISO2022 encodings. As a workaround, mark invalid only if -+ * O + GR in a 7-bit encoding or O + GL in an 8-bit -+ * encoding. -+ */ -+ if (CODING_ISO_FLAGS (coding) & CODING_ISO_FLAG_SEVEN_BITS) { -+ if (c1 < 0x20 || c1 >= 0x80) -+ goto invalid_code; -+ } -+ else { -+ if (c1 < 0xA0) -+ goto invalid_code; -+ } - break; - - case '0': case '2': case '3': case '4': /* start composition */ -- cgit v1.2.3