* iconvdata/iso-2022-kr.c: Optimize recognition of escape
	sequences a bit.
This commit is contained in:
Ulrich Drepper 1999-12-29 04:40:57 +00:00
parent 056e03583b
commit 6d110ca185
4 changed files with 799 additions and 789 deletions

View File

@ -1,5 +1,8 @@
1999-12-28 Ulrich Drepper <drepper@cygnus.com>
* iconvdata/iso-2022-kr.c: Optimize recognition of escape
sequences a bit.
* sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove oldgetrlimit
and oldsetrlimit definitions.

View File

@ -133,9 +133,9 @@ enum
switching is done using the SI and SO bytes. But we have to \
recognize `Esc $ ) C' since this is a kind of flag for this \
encoding. We simply ignore it. */ \
if (inptr + 1 > inend \
if ((NEED_LENGTH_TEST && inptr + 1 > inend) \
|| (inptr[1] == '$' \
&& (inptr + 2 > inend \
&& ((NEED_LENGTH_TEST && inptr + 2 > inend) \
|| (inptr[2] == ')' && inptr + 3 > inend)))) \
\
{ \

File diff suppressed because it is too large Load Diff

511
iconvdata/testdata/GBK vendored

File diff suppressed because it is too large Load Diff