summaryrefslogtreecommitdiff
path: root/iconvdata/ibm932.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2006-04-27 21:29:55 +0000
committerJakub Jelinek <jakub@redhat.com>2006-04-27 21:29:55 +0000
commit0ad70fc14340d1e3ac2976014766c6eb6d5d3715 (patch)
tree31c5833023f6399a6bada4016306a5a417461ed7 /iconvdata/ibm932.c
parent9b356005b4dca9c57af7cb1f5313a13a728c6310 (diff)
Updated to fedora-glibc-20060427T2122
Diffstat (limited to 'iconvdata/ibm932.c')
-rw-r--r--iconvdata/ibm932.c16
1 files changed, 2 insertions, 14 deletions
diff --git a/iconvdata/ibm932.c b/iconvdata/ibm932.c
index 8f05581c13..4fb1582e79 100644
--- a/iconvdata/ibm932.c
+++ b/iconvdata/ibm932.c
@@ -94,16 +94,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++; \
@@ -117,16 +111,10 @@
uint32_t res = __ibm932sb_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>