]> git.ipfire.org Git - thirdparty/glibc.git/commit
iconvconfig: Read configuration from gconv-modules.d subdirectory
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Mon, 7 Jun 2021 08:52:18 +0000 (14:22 +0530)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Wed, 9 Jun 2021 04:17:16 +0000 (09:47 +0530)
commit3979c3e1bae20459d9b6d424bdb49927d9cd6fec
tree8b0de27acafa1ea659c65dc0457e6d0176fafbc8
parent0c78b0bb78d87a7de18726a033d88904f158f0fe
iconvconfig: Read configuration from gconv-modules.d subdirectory

In addition to GCONV_PATH/gconv-modules, also read module
configuration from *.conf files in GCONV_PATH/gconv-modules.d.  This
allows a single gconv directory to have multiple sets of gconv modules
but at the same time, a single modules cache.

With this feature, one could separate the glibc supported gconv
modules into a minimal essential set (ISO-8859-*, UTF, etc.) from the
remaining modules.  In future, these could be further segregated into
langpack-associated sets with their own
gconv-modules.d/someconfig.conf.

Reviewed-by: DJ Delorie <dj@redhat.com>
iconv/iconvconfig.c