about summary refs log tree commit diff
path: root/iconv/gconv_builtin.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2006-05-15 16:39:02 +0000
committerUlrich Drepper <drepper@redhat.com>2006-05-15 16:39:02 +0000
commit88dbff8cf980b4b63bdbb0e987489bc20176f220 (patch)
tree9dc2102c8c5244ce2ac0d2215f0a96546c825690 /iconv/gconv_builtin.h
parent4442d58f1f4228584f22eb2fa04ff2334407382a (diff)
downloadglibc-88dbff8cf980b4b63bdbb0e987489bc20176f220.tar.gz
glibc-88dbff8cf980b4b63bdbb0e987489bc20176f220.tar.xz
glibc-88dbff8cf980b4b63bdbb0e987489bc20176f220.zip
* 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.
Diffstat (limited to 'iconv/gconv_builtin.h')
-rw-r--r--iconv/gconv_builtin.h5
1 files changed, 4 insertions, 1 deletions
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 <drepper@cygnus.com>, 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/")