summary refs log tree commit diff
path: root/iconvdata/cns11643l2.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-06-06 14:01:54 +0000
committerUlrich Drepper <drepper@redhat.com>2001-06-06 14:01:54 +0000
commit289ac9ddb4ba77209bf530970950fcde3ea372d8 (patch)
tree674f042bc6a1ed2beb70699b285955a0e081a665 /iconvdata/cns11643l2.h
parent601d294296e1de9fc423700db00bccc04a2bf50d (diff)
downloadglibc-289ac9ddb4ba77209bf530970950fcde3ea372d8.tar.gz
glibc-289ac9ddb4ba77209bf530970950fcde3ea372d8.tar.xz
glibc-289ac9ddb4ba77209bf530970950fcde3ea372d8.zip
Update.
2001-06-06  Ulrich Drepper  <drepper@redhat.com>

	* timezone/zic.c: Update from tzcode2001c.
	* timezone/private.h: Likewise.
	* timezone/africa: Update from tzdata2001c.
	* timezone/asia: Likewise.
	* timezone/europe: Likewise.
	* timezone/northamerica: Likewise.
	* timezone/southamerica: Likewise.
	* timezone/zone.tab: Likewise.
Diffstat (limited to 'iconvdata/cns11643l2.h')
-rw-r--r--iconvdata/cns11643l2.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/iconvdata/cns11643l2.h b/iconvdata/cns11643l2.h
index 0fea3885ff..4ea319c56a 100644
--- a/iconvdata/cns11643l2.h
+++ b/iconvdata/cns11643l2.h
@@ -1,5 +1,5 @@
 /* Access functions for CNS 11643, plane 2 handling.
-   Copyright (C) 1998, 1999 Free Software Foundation, Inc.
+   Copyright (C) 1998, 1999, 2001 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
 
@@ -54,7 +54,7 @@ cns11643l2_to_ucs4 (const unsigned char **s, size_t avail,
 
 
 /* The table which contains the CNS 11643 level 2 mappings.  */
-extern const char __cns11643_from_ucs4_tab[][3];
+extern const char __cns11643_from_ucs4p0_tab[][3];
 
 
 static inline size_t
@@ -65,7 +65,7 @@ ucs4_to_cns11643l2 (uint32_t wch, unsigned char *s, size_t avail)
 
   if (ch >= 0x4e07 && ch <= 0x9fa4)
     {
-      cp = __cns11643_from_ucs4_tab[ch - 0x4e00];
+      cp = __cns11643_from_ucs4p0_tab[ch - 0x3400];
       if (cp[0] == '\2')
 	++cp;
       else