glibc/iconv
Arjun Shankar 7d4ec75e11 intl: Handle translation output codesets with suffixes [BZ #26383]
Commit 91927b7c76 (Rewrite iconv option parsing [BZ #19519]) did not
handle cases where the output codeset for translations (via the `gettext'
family of functions) might have a caller specified encoding suffix such as
TRANSLIT or IGNORE.  This led to a regression where translations did not
work when the codeset had a suffix.

This commit fixes the above issue by parsing any suffixes passed to
__dcigettext and adds two new test-cases to intl/tst-codeset.c to
verify correct behaviour.  The iconv-internal function __gconv_create_spec
and the static iconv-internal function gconv_destroy_spec are now visible
internally within glibc and used in intl/dcigettext.c.
2020-09-25 14:47:06 +02:00
..
dummy-repertoire.c
gconv_builtin.c
gconv_builtin.h
gconv_cache.c Remove internal usage of extensible stat functions 2020-09-11 14:35:32 -03:00
gconv_charset.c intl: Handle translation output codesets with suffixes [BZ #26383] 2020-09-25 14:47:06 +02:00
gconv_charset.h intl: Handle translation output codesets with suffixes [BZ #26383] 2020-09-25 14:47:06 +02:00
gconv_close.c
gconv_conf.c
gconv_db.c
gconv_dl.c
gconv_int.h intl: Handle translation output codesets with suffixes [BZ #26383] 2020-09-25 14:47:06 +02:00
gconv_open.c Rewrite iconv option parsing [BZ #19519] 2020-07-07 20:34:07 +02:00
gconv_simple.c
gconv_trans.c
gconv.c
gconv.h
iconv_charmap.c
iconv_close.c
iconv_open.c intl: Handle translation output codesets with suffixes [BZ #26383] 2020-09-25 14:47:06 +02:00
iconv_prog.c intl: Handle translation output codesets with suffixes [BZ #26383] 2020-09-25 14:47:06 +02:00
iconv_prog.h
iconv.c
iconv.h
iconvconfig.c
iconvconfig.h
loop.c
Makefile Rewrite iconv option parsing [BZ #19519] 2020-07-07 20:34:07 +02:00
skeleton.c
strtab.c
test-gconv-modules
tst-gconv-init-failure-mod.c
tst-gconv-init-failure.c
tst-iconv1.c
tst-iconv2.c
tst-iconv3.c
tst-iconv4.c
tst-iconv5.c
tst-iconv6.c
tst-iconv7.c
tst-iconv_prog.sh Rewrite iconv option parsing [BZ #19519] 2020-07-07 20:34:07 +02:00
tst-iconv-mt.c
tst-iconv-opt.c Rewrite iconv option parsing [BZ #19519] 2020-07-07 20:34:07 +02:00
Versions intl: Handle translation output codesets with suffixes [BZ #26383] 2020-09-25 14:47:06 +02:00