diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-04-21 06:46:40 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-04-21 06:46:40 +0000 |
commit | 4a069c3345ea4e832c814a46267942226e53f9a2 (patch) | |
tree | aca2ccb8f71c86ed142be0d8eb027d62c3eba15e /iconv/gconv_builtin.h | |
parent | 978ce92b89ad3433b4cec6986b3b9f535a52c83b (diff) | |
download | glibc-4a069c3345ea4e832c814a46267942226e53f9a2.tar.gz glibc-4a069c3345ea4e832c814a46267942226e53f9a2.tar.xz glibc-4a069c3345ea4e832c814a46267942226e53f9a2.zip |
Update.
* iconv/gconv_simple.c: Define separate functions to convert from UCS4/UCS4-LE to the internal encoding. * iconv/gconv_builtin.h: Use separate functions to convert from UCS4/UCS4-LE to the internal encoding. * iconv/gconv_int.h: Declare __gconv_transform_ucs4_internal and __gconv_transform_ucs4le_internal. * iconv/gconv_simple.c (internal_utf8_loop): Correct check for output buffer overflow. Reported by Ulrich.Brink@sap.com.
Diffstat (limited to 'iconv/gconv_builtin.h')
-rw-r--r-- | iconv/gconv_builtin.h | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/iconv/gconv_builtin.h b/iconv/gconv_builtin.h index 781d2014d8..351d6a0342 100644 --- a/iconv/gconv_builtin.h +++ b/iconv/gconv_builtin.h @@ -35,9 +35,8 @@ BUILTIN_TRANSFORMATION (NULL, "INTERNAL", 8, 4, 4, 4, 4) BUILTIN_TRANSFORMATION (NULL, "ISO-10646/UCS4/", 15, "INTERNAL", 1, "=ucs4->INTERNAL", - __gconv_transform_internal_ucs4, NULL, NULL, + __gconv_transform_ucs4_internal, NULL, NULL, 4, 4, 4, 4) -/* Please note that we need only one function for both direction. */ BUILTIN_TRANSFORMATION (NULL, "INTERNAL", 8, "UCS-4LE//", 1, "=INTERNAL->ucs4le", @@ -45,9 +44,8 @@ BUILTIN_TRANSFORMATION (NULL, "INTERNAL", 8, 4, 4, 4, 4) BUILTIN_TRANSFORMATION (NULL, "UCS-4LE//", 15, "INTERNAL", 1, "=ucs4le->INTERNAL", - __gconv_transform_internal_ucs4le, NULL, NULL, + __gconv_transform_ucs4le_internal, NULL, NULL, 4, 4, 4, 4) -/* Please note that we need only one function for both direction. */ BUILTIN_ALIAS ("UTF8//", "ISO-10646/UTF8/") BUILTIN_ALIAS ("UTF-8//", "ISO-10646/UTF8/") |