From 88dbff8cf980b4b63bdbb0e987489bc20176f220 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 15 May 2006 16:39:02 +0000 Subject: * iconv/gconv_conf.c (add_alias): Move actual alias handling to... (add_alias2): ...here. New function. (__gconv_read_conf): Simplify builtin alias handling. (builtin_aliases): Convert to string to avoid relocations. * iconv/gconv_builtin.h: Add comment about correct formatting. --- iconv/gconv_builtin.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'iconv/gconv_builtin.h') diff --git a/iconv/gconv_builtin.h b/iconv/gconv_builtin.h index bd34c256dc..ef9ab8d7cf 100644 --- a/iconv/gconv_builtin.h +++ b/iconv/gconv_builtin.h @@ -1,5 +1,5 @@ /* Builtin transformations. - Copyright (C) 1997-1999, 2000-2002 Free Software Foundation, Inc. + Copyright (C) 1997-1999, 2000-2002, 2006 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1997. @@ -18,6 +18,9 @@ Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. */ +/* All encoding named must be in upper case. There must be no extra + spaces. */ + BUILTIN_ALIAS ("UCS4//", "ISO-10646/UCS4/") BUILTIN_ALIAS ("UCS-4//", "ISO-10646/UCS4/") BUILTIN_ALIAS ("UCS-4BE//", "ISO-10646/UCS4/") -- cgit v1.2.1