diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-11-29 07:43:03 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-11-29 07:43:03 +0000 |
commit | 03a2c6475bd251773ddce5e9e5bb9b8d4c0baeab (patch) | |
tree | e3b83e302b2f166d9520df5dcfa0195fe051c2ba /iconvdata/ibm937.c | |
parent | e0e86ccb1d2848678b5c32f65bf6239ba5fb9d24 (diff) | |
download | glibc-03a2c6475bd251773ddce5e9e5bb9b8d4c0baeab.tar.gz glibc-03a2c6475bd251773ddce5e9e5bb9b8d4c0baeab.tar.xz glibc-03a2c6475bd251773ddce5e9e5bb9b8d4c0baeab.zip |
Update.
* iconvdata/ibm1163.c: New file. * iconvdata/ibm1163.h: New file. * iconvdata/ibm1164.c: New file. * iconvdata/ibm1164.h: New file. * iconvdata/TESTS: Add entries for IBM1163 and IBM1164. * iconvdata/Makefile: Likewise. * iconvdata/testdata/IBM1163: New file. * iconvdata/testdata/IBM1163..UTF8: New file. * iconvdata/testdata/IBM1164: New file. * iconvdata/testdata/IBM1164..UTF8: New file. Patch by Masahide Washizawa <WASHI@jp.ibm.com>. * iconvdata/ibm1046.h: Optimize. Remove duplicate mappings. * iconvdata/ibm1124.h: Likewise. * iconvdata/ibm1132.h: Likewise. * iconvdata/ibm1133.h: Likewise. * iconvdata/ibm1160.h: Likewise. * iconvdata/ibm1161.h: Likewise. * iconvdata/ibm1162.h: Likewise. * iconvdata/ibm856.h: Likewise. * iconvdata/ibm922.h: Likewise. * iconvdata/ibm930.h: Likewise. * iconvdata/ibm932.h: Likewise. * iconvdata/ibm933.h: Likewise. * iconvdata/ibm935.h: Likewise. * iconvdata/ibm937.h: Likewise. * iconvdata/ibm939.h: Likewise. * iconvdata/ibm943.h: Likewise. * iconvdata/ibm930.c: Pretty printing. * iconvdata/ibm937.c: Avoid access accross array boundary.
Diffstat (limited to 'iconvdata/ibm937.c')
-rw-r--r-- | iconvdata/ibm937.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/iconvdata/ibm937.c b/iconvdata/ibm937.c index edfbf6683c..39468aa0dd 100644 --- a/iconvdata/ibm937.c +++ b/iconvdata/ibm937.c @@ -184,10 +184,10 @@ enum const char *cp; \ \ /* Use the UCS4 table for single byte. */ \ - cp = __ucs4_to_ibm937sb[ch]; \ if (__builtin_expect (ch >= (sizeof (__ucs4_to_ibm937sb) \ / sizeof (__ucs4_to_ibm937sb[0])), 0) \ - || (__builtin_expect (cp[0], '\1') == '\0' && ch != 0)) \ + || (cp = __ucs4_to_ibm937sb[ch], \ + __builtin_expect (cp[0], '\1') == '\0' && ch != 0)) \ { \ /* Use the UCS4 table for double byte. */ \ cp = __ucs4_to_ibm937db[ch]; \ |