about summary refs log tree commit diff
path: root/iconvdata/euckr.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-04-13 09:17:55 +0000
committerUlrich Drepper <drepper@redhat.com>1998-04-13 09:17:55 +0000
commit40b4c81d4ec13a7a5acdeb1288f1d897b511b36c (patch)
tree749983afdca46082e5edb506b00c72917f76ea18 /iconvdata/euckr.c
parent8acdf4fd69b5362bca57b9136b7d243333774484 (diff)
downloadglibc-40b4c81d4ec13a7a5acdeb1288f1d897b511b36c.tar.gz
glibc-40b4c81d4ec13a7a5acdeb1288f1d897b511b36c.tar.xz
glibc-40b4c81d4ec13a7a5acdeb1288f1d897b511b36c.zip
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/iconvdata/euckr.c b/iconvdata/euckr.c
index 9789e883e9..62dd2c47bf 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