summary refs log tree commit diff
path: root/iconvdata/ibm943.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2007-07-12 18:26:36 +0000
committerJakub Jelinek <jakub@redhat.com>2007-07-12 18:26:36 +0000
commit0ecb606cb6cf65de1d9fc8a919bceb4be476c602 (patch)
tree2ea1f8305970753e4a657acb2ccc15ca3eec8e2c /iconvdata/ibm943.c
parent7d58530341304d403a6626d7f7a1913165fe2f32 (diff)
downloadglibc-0ecb606cb6cf65de1d9fc8a919bceb4be476c602.tar.gz
glibc-0ecb606cb6cf65de1d9fc8a919bceb4be476c602.tar.xz
glibc-0ecb606cb6cf65de1d9fc8a919bceb4be476c602.zip
2.5-18.1
Diffstat (limited to 'iconvdata/ibm943.c')
-rw-r--r--iconvdata/ibm943.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/iconvdata/ibm943.c b/iconvdata/ibm943.c
index daeac1d8b2..119bb1f4b9 100644
--- a/iconvdata/ibm943.c
+++ b/iconvdata/ibm943.c
@@ -95,16 +95,10 @@
       }									      \
     else								      \
       {									      \
-	if (res == 0x1c)						      \
-	  res = 0x1a;							      \
-	else if (res == 0x7f)						      \
-	  res = 0x1c;							      \
-	else if (res == 0xa5)						      \
+	if (res == 0xa5)						      \
 	  res = 0x5c;							      \
 	else if (res == 0x203e)						      \
 	  res = 0x7e;							      \
-	else if (res == 0x1a)						      \
-	  res = 0x7f;							      \
 	put32 (outptr, res);						      \
 	outptr += 4;							      \
 	inptr++;							      \
@@ -118,16 +112,10 @@
     uint32_t res = __ibm943sb_to_ucs4[c];				      \
     if (res == 0 && c != 0)						      \
       return WEOF;							      \
-    if (res == 0x1c)							      \
-      res = 0x1a;							      \
-    else if (res == 0x7f)						      \
-      res = 0x1c;							      \
-    else if (res == 0xa5)						      \
+    if (res == 0xa5)						              \
       res = 0x5c;							      \
     else if (res == 0x203e)						      \
       res = 0x7e;							      \
-    else if (res == 0x1a)						      \
-      res = 0x7f;							      \
     return res;								      \
   }
 #include <iconv/loop.c>