mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-30 21:23:52 +08:00
91927b7c76
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>
15 lines
313 B
Plaintext
15 lines
313 B
Plaintext
libc {
|
|
GLIBC_2.1 {
|
|
# i*
|
|
iconv; iconv_open; iconv_close;
|
|
}
|
|
GLIBC_PRIVATE {
|
|
# functions shared with iconv program
|
|
__gconv_get_alias_db; __gconv_get_cache; __gconv_get_modules_db;
|
|
__gconv_open; __gconv_create_spec;
|
|
|
|
# function used by the gconv modules
|
|
__gconv_transliterate;
|
|
}
|
|
}
|