diff options
author | Bruno Haible <bruno@clisp.org> | 2001-04-09 19:57:05 +0000 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2001-04-09 19:57:05 +0000 |
commit | 6763432ac478e4d31f00beb0886883df7989efbf (patch) | |
tree | 04dcaedfddf152b20cf21f4c1cdd181e223fc9db /intl/ChangeLog | |
parent | 14799a7c1a9aa1fbe821a8e9cadde27df45ae190 (diff) | |
download | external_gettext-6763432ac478e4d31f00beb0886883df7989efbf.zip external_gettext-6763432ac478e4d31f00beb0886883df7989efbf.tar.gz external_gettext-6763432ac478e4d31f00beb0886883df7989efbf.tar.bz2 |
Fix bind_textdomain_codeset to have an effect also on catalogs that have
already been opened.
Diffstat (limited to 'intl/ChangeLog')
-rw-r--r-- | intl/ChangeLog | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/intl/ChangeLog b/intl/ChangeLog index 94a35a4..c40ec3c 100644 --- a/intl/ChangeLog +++ b/intl/ChangeLog @@ -1,3 +1,28 @@ +2001-04-07 Bruno Haible <haible@clisp.cons.org> + + * gettextP.h (struct loaded_domain): Add codeset_cntr field. + (struct binding): Add codeset_cntr field. + (_nl_load_domain): Add domainbinding argument. + (_nl_init_domain_conv, _nl_free_domain_conv): New declarations. + (_nl_find_msg): New declaration, moved here from loadinfo.h. + * loadinfo.h (struct loaded_l10nfile): Remove domainbinding field. + (_nl_make_l10nflist): Remove domainbinding argument. + (_nl_find_msg): Move declaration to gettextP.h. + * bindtextdom.c (set_binding_values): Initialize ->codeset_cntr to 0. + Increment it when ->codeset is changed. + * dcigettext.c (DCIGETTEXT): Pass binding to _nl_find_msg. + (_nl_find_msg): Add domainbinding argument. Reinitialize the converter + if domainbinding->codeset_cntr has been incremented. + * finddomain.c (_nl_find_domain): Don't pass domainbinding to + _nl_make_l10nflist(). Pass it to _nl_load_domain() instead. + * l10nflist.c (_nl_make_l10nflist): Remove domainbinding argument. + * loadmsgcat.c (_nl_init_domain_conv): New function, extracted from + _nl_load_domain. Append //TRANSLIT also when using libiconv. + (_nl_free_domain_conv): New function, extracted from _nl_unload_domain. + (_nl_load_domain): Add domainbinding argument. Call + _nl_init_domain_conv. + (_nl_unload_domain): Call _nl_free_domain_conv. + 2001-04-09 Bruno Haible <haible@clisp.cons.org> * dcigettext.c (HAVE_LOCALE_NULL): Don't define if __GNU_LIBRARY__ < 2 |