glibc/intl
Arjun Shankar 91927b7c76 Rewrite iconv option parsing [BZ #19519]
This commit replaces string manipulation during `iconv_open' and iconv_prog
option parsing with a structured, flag based conversion specification.  In
doing so, it alters the internal `__gconv_open' interface and accordingly
adjusts its uses.

This change fixes several hangs in the iconv program and therefore includes
a new test to exercise iconv_prog options that originally led to these hangs.
It also includes a new regression test for option handling in the iconv
function.

Reviewed-by: Florian Weimer <fweimer@redhat.com>
Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2020-07-07 20:34:07 +02:00
..
bindtextdom.c
dcgettext.c
dcigettext.c
dcngettext.c
Depend
dgettext.c
dngettext.c
eval-plural.h
explodename.c
finddomain.c
gettext.c
gettextP.h
gmo.h
hash-string.c
hash-string.h
l10nflist.c
libintl.h
loadinfo.h
loadmsgcat.c
locale.alias
localealias.c
Makefile
ngettext.c
plural-exp.c
plural-exp.h
plural.y
po2test.awk
textdomain.c
translit.po
tst-codeset.c
tst-gettext2.c
tst-gettext2.sh
tst-gettext3.c
tst-gettext4-de.po
tst-gettext4-fr.po
tst-gettext4.c
tst-gettext4.sh
tst-gettext5.c
tst-gettext6.c
tst-gettext6.sh
tst-gettext.c
tst-gettext.sh
tst-ngettext.c
tst-translit.c
tst-translit.sh
tstcodeset.po
tstlang1.po
tstlang2.po
Versions