glibc/intl
Arjun Shankar fe62c4d173 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.

(cherry picked from commit 7d4ec75e11)
2020-09-25 14:57:32 +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:57:32 +02:00
dcngettext.c Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
Depend
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 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00: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
tst-codeset.c intl: Handle translation output codesets with suffixes [BZ #26383] 2020-09-25 14:57:32 +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
tst-gettext4-fr.po
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
tstlang1.po
tstlang2.po
Versions