[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/coding.c [EMACS_21_1_RC]
From: |
Kenichi Handa |
Subject: |
[Emacs-diffs] Changes to emacs/src/coding.c [EMACS_21_1_RC] |
Date: |
Tue, 26 Aug 2003 20:32:06 -0400 |
Index: emacs/src/coding.c
diff -c emacs/src/coding.c:1.222.4.18 emacs/src/coding.c:1.222.4.19
*** emacs/src/coding.c:1.222.4.18 Wed Jun 4 08:47:42 2003
--- emacs/src/coding.c Tue Aug 26 20:32:05 2003
***************
*** 1359,1364 ****
--- 1359,1365 ----
while (mask && src < src_end)
{
ONE_MORE_BYTE_CHECK_MULTIBYTE (c, multibytep);
+ retry:
switch (c)
{
case ISO_CODE_ESC:
***************
*** 1556,1561 ****
--- 1557,1564 ----
&& mask & CODING_CATEGORY_MASK_ISO_8_2)
{
int i = 1;
+
+ c = -1;
while (src < src_end)
{
ONE_MORE_BYTE_CHECK_MULTIBYTE (c, multibytep);
***************
*** 1568,1573 ****
--- 1571,1579 ----
mask &= ~CODING_CATEGORY_MASK_ISO_8_2;
else
mask_found |= CODING_CATEGORY_MASK_ISO_8_2;
+ if (c >= 0)
+ /* This means that we have read one extra byte. */
+ goto retry;
}
}
break;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] Changes to emacs/src/coding.c [EMACS_21_1_RC],
Kenichi Handa <=