diff options
author | Ulrich Drepper <drepper@redhat.com> | 1998-04-13 09:17:55 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 1998-04-13 09:17:55 +0000 |
commit | 40b4c81d4ec13a7a5acdeb1288f1d897b511b36c (patch) | |
tree | 749983afdca46082e5edb506b00c72917f76ea18 /iconvdata/euckr.c | |
parent | 8acdf4fd69b5362bca57b9136b7d243333774484 (diff) | |
download | glibc-40b4c81d4ec13a7a5acdeb1288f1d897b511b36c.zip glibc-40b4c81d4ec13a7a5acdeb1288f1d897b511b36c.tar.gz glibc-40b4c81d4ec13a7a5acdeb1288f1d897b511b36c.tar.bz2 |
Update.
1998-04-13 09:11 Ulrich Drepper <drepper@cygnus.com>
* iconvdata/eucjp.c: New file.
* iconvdata/euccn.c: New file.
* iconvdata/gb2312.h: New file.
* iconvdata/gb2312.c: New file.
* iconvdata/Makefile: Add rules for EUC-JP and EUC-CN.
* iconvdata/gconv-modules: Likewise.
* iconvdata/euckr.c: Use stdint.h instead of inttypes.h.
Diffstat (limited to 'iconvdata/euckr.c')
-rw-r--r-- | iconvdata/euckr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/iconvdata/euckr.c b/iconvdata/euckr.c index 9789e88..62dd2c4 100644 --- a/iconvdata/euckr.c +++ b/iconvdata/euckr.c @@ -19,7 +19,7 @@ Boston, MA 02111-1307, USA. */ #include <gconv.h> -#include <inttypes.h> +#include <stdint.h> #include <stdlib.h> #include <string.h> #include <wchar.h> @@ -168,7 +168,7 @@ gconv (struct gconv_step *step, struct gconv_step_data *data, /* 0xfe(->0x7e : row 94) and 0xc9(->0x59 : row 41) are user-defined areas */ - else if ( inchar <= 0xa0 || inchar >= 0xfe || inchar == 0xc9) + else if ( inchar <= 0xa0 || inchar > 0xfe || inchar == 0xc9) /* This is illegal. */ ch = L'\0'; else |