mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 08:11:08 +00:00
Update.
* iconvdata/iso-2022-kr.c: Optimize recognition of escape sequences a bit.
This commit is contained in:
parent
056e03583b
commit
6d110ca185
@ -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.
|
||||
|
||||
|
@ -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)))) \
|
||||
\
|
||||
{ \
|
||||
|
12
iconvdata/testdata/EUC-KR
vendored
12
iconvdata/testdata/EUC-KR
vendored
@ -1,3 +1,9 @@
|
||||
! " # $ % & ' ( ) * + , - . /
|
||||
0 1 2 3 4 5 6 7 8 9 : ; < = > ?
|
||||
@ A B C D E F G H I J K L M N O
|
||||
P Q R S T U V W X Y Z [ \ ] ^ _
|
||||
` a b c d e f g h i j k l m n o
|
||||
p q r s t u v w x y z { | } ~
|
||||
|
||||
、 。 · ˉ ˇ ¨ 〃 々 — ~ ‖ … ‘ ’
|
||||
“ ” 〔 〕 〈 〉 《 》 「 」 『 』 〖 〗 【 】
|
||||
@ -544,9 +550,3 @@
|
||||
<EFBFBD> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20>
|
||||
<EFBFBD> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20>
|
||||
<EFBFBD> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20> <20>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
7
iconvdata/testdata/GBK
vendored
7
iconvdata/testdata/GBK
vendored
@ -1,3 +1,10 @@
|
||||
! " # $ % & ' ( ) * + , - . /
|
||||
0 1 2 3 4 5 6 7 8 9 : ; < = > ?
|
||||
@ A B C D E F G H I J K L M N O
|
||||
P Q R S T U V W X Y Z [ \ ] ^ _
|
||||
` a b c d e f g h i j k l m n o
|
||||
p q r s t u v w x y z { | } ~
|
||||
|
||||
、 。 , . ・ : ; ? ! ゛ ゜ ´ ` ¨ ^
|
||||
 ̄ _ ヽ ヾ ゝ ゞ 〃 仝 々 〆 〇 ー ― ‐ / \
|
||||
~ ∥ | … ‥ ‘ ’ “ ” ( ) 〔 〕 [ ] {
|
||||
|
Loading…
Reference in New Issue
Block a user