glibc/intl
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
..
bindtextdom.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
dcgettext.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
dcigettext.c intl: Handle translation output codesets with suffixes [BZ #26383] 2020-09-25 14:47:06 +02:00
dcngettext.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
Depend Update. 2000-06-17 07:39:18 +00:00
dgettext.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
dngettext.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
eval-plural.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
explodename.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
finddomain.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
gettext.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
gettextP.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
gmo.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
hash-string.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
hash-string.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
l10nflist.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
libintl.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
loadinfo.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
loadmsgcat.c Remove internal usage of extensible stat functions 2020-09-11 14:35:32 -03:00
locale.alias Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
localealias.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
Makefile Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
ngettext.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
plural-exp.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
plural-exp.h Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
plural.y Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
po2test.awk Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
textdomain.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
translit.po Update. 2000-11-02 07:51:38 +00:00
tst-codeset.c intl: Handle translation output codesets with suffixes [BZ #26383] 2020-09-25 14:47:06 +02:00
tst-gettext2.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-gettext2.sh Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-gettext3.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-gettext4-de.po * sysdeps/i386/i686/memcmp.S: Move misplaced END. 2005-04-28 18:21:03 +00:00
tst-gettext4-fr.po * sysdeps/i386/i686/memcmp.S: Move misplaced END. 2005-04-28 18:21:03 +00:00
tst-gettext4.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-gettext4.sh Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-gettext5.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-gettext6.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-gettext6.sh Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-gettext.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-gettext.sh Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-ngettext.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-translit.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tst-translit.sh Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
tstcodeset.po Update. 2001-04-10 00:15:08 +00:00
tstlang1.po Update. 2000-10-31 03:10:13 +00:00
tstlang2.po Update. 2000-10-31 03:10:13 +00:00
Versions Update. 2002-05-01 17:09:58 +00:00