mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-29 14:01:20 +00:00
7d4ec75e11
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.
17 lines
376 B
Plaintext
17 lines
376 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;
|
|
|
|
# functions used elsewhere in glibc
|
|
__gconv_open; __gconv_create_spec; __gconv_destroy_spec;
|
|
|
|
# function used by the gconv modules
|
|
__gconv_transliterate;
|
|
}
|
|
}
|