[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/src/coding.c
From: |
Kenichi Handa |
Subject: |
[Emacs-diffs] Changes to emacs/src/coding.c |
Date: |
Fri, 26 Jul 2002 07:53:25 -0400 |
Index: emacs/src/coding.c
diff -c emacs/src/coding.c:1.251 emacs/src/coding.c:1.252
*** emacs/src/coding.c:1.251 Fri Jul 19 10:26:57 2002
--- emacs/src/coding.c Fri Jul 26 07:53:25 2002
***************
*** 1349,1354 ****
--- 1349,1355 ----
while (mask && src < src_end)
{
ONE_MORE_BYTE_CHECK_MULTIBYTE (c, multibytep);
+ retry:
switch (c)
{
case ISO_CODE_ESC:
***************
*** 1523,1528 ****
--- 1524,1531 ----
&& mask & CODING_CATEGORY_MASK_ISO_8_2)
{
int i = 1;
+
+ c = -1;
while (src < src_end)
{
ONE_MORE_BYTE_CHECK_MULTIBYTE (c, multibytep);
***************
*** 1535,1540 ****
--- 1538,1546 ----
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;
- [Emacs-diffs] Changes to emacs/src/coding.c, (continued)
- [Emacs-diffs] Changes to emacs/src/coding.c, Kenichi Handa, 2002/07/08
- [Emacs-diffs] Changes to emacs/src/coding.c, Juanma Barranquero, 2002/07/11
- [Emacs-diffs] Changes to emacs/src/coding.c, Dave Love, 2002/07/11
- [Emacs-diffs] Changes to emacs/src/coding.c, Ken Raeburn, 2002/07/14
- [Emacs-diffs] Changes to emacs/src/coding.c, Dave Love, 2002/07/16
- [Emacs-diffs] Changes to emacs/src/coding.c, Ken Raeburn, 2002/07/16
- [Emacs-diffs] Changes to emacs/src/coding.c, Dave Love, 2002/07/17
- [Emacs-diffs] Changes to emacs/src/coding.c, Ken Raeburn, 2002/07/19
- [Emacs-diffs] Changes to emacs/src/coding.c, Kenichi Handa, 2002/07/22
- [Emacs-diffs] Changes to emacs/src/coding.c, Kenichi Handa, 2002/07/24
- [Emacs-diffs] Changes to emacs/src/coding.c,
Kenichi Handa <=
- [Emacs-diffs] Changes to emacs/src/coding.c, Dave Love, 2002/07/30
- [Emacs-diffs] Changes to emacs/src/coding.c, Kenichi Handa, 2002/07/31