]> Savannah Git Hosting - gnulib.git/commit
localcharset: Move mapping tables into the code.
authorBruno Haible <bruno@clisp.org>
Sat, 19 May 2018 15:17:32 +0000 (17:17 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 20 May 2018 11:16:19 +0000 (13:16 +0200)
commitbb5cc1c59c039836699b096a27a82b0d1abee038
treeec8ce3face8adf24fbf720d01e2f4098b1acdfec
parent9d70137bfec6f93a90eb77f63536dda25672152d
localcharset: Move mapping tables into the code.

* lib/localcharset.h: Document the GNU canonical names for character
encodings here.
* lib/localcharset.c: Don't include <fcntl.h>, <unistd.h>,
relocatable.h, configmake.h.
(O_NOFOLLOW, ISSLASH, DIRECTORY_SEPARATOR, getc, volatile): Remove
macros.
(charset_aliases): Remove variable.
(get_charset_aliases): Remove function.
(struct table_entry): New type.
(alias_table, locale_table): New constants.
(locale_charset): Use the alias_table or locale_table to get the
canonicalized encoding name.
* lib/config.charset: Remove file.
* lib/ref-add.sin: Remove file.
* lib/ref-del.sin: Remove file.
* m4/localcharset.m4 (gl_LOCALCHARSET): Don't require gl_FCNTL_O_FLAGS,
AC_CANONICAL_HOST, gl_GLIBC21. Don't check for getc_unlocked.
* modules/localcharset (Notice): Remove.
(Files): Remove config.charset, ref-add.sin, ref-del.sin, fcntl-o.m4,
glibc21.m4.
(Depends-on): Remove configmake.
(configure.ac): Define LOCALCHARSET_TESTS_ENVIRONMENT to empty.
(Makefile.am): Simplify.
* build-aux/prefix-gnulib-mk: Remove special code for the removed files.
ChangeLog
build-aux/prefix-gnulib-mk
lib/.cvsignore
lib/config.charset [deleted file]
lib/localcharset.c
lib/localcharset.h
lib/ref-add.sin [deleted file]
lib/ref-del.sin [deleted file]
m4/localcharset.m4
modules/localcharset