mirror of git://sourceware.org/git/glibc.git
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> |
||
|---|---|---|
| .. | ||
| Makefile | ||
| Versions | ||
| dummy-repertoire.c | ||
| gconv.c | ||
| gconv.h | ||
| gconv_builtin.c | ||
| gconv_builtin.h | ||
| gconv_cache.c | ||
| gconv_charset.c | ||
| gconv_charset.h | ||
| gconv_close.c | ||
| gconv_conf.c | ||
| gconv_db.c | ||
| gconv_dl.c | ||
| gconv_int.h | ||
| gconv_open.c | ||
| gconv_simple.c | ||
| gconv_trans.c | ||
| iconv.c | ||
| iconv.h | ||
| iconv_charmap.c | ||
| iconv_close.c | ||
| iconv_open.c | ||
| iconv_prog.c | ||
| iconv_prog.h | ||
| iconvconfig.c | ||
| iconvconfig.h | ||
| loop.c | ||
| skeleton.c | ||
| strtab.c | ||
| test-gconv-modules | ||
| tst-gconv-init-failure-mod.c | ||
| tst-gconv-init-failure.c | ||
| tst-iconv-mt.c | ||
| tst-iconv-opt.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 | ||