aboutsummaryrefslogtreecommitdiff
path: root/intl/loadinfo.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-01-05 06:43:17 +0000
committerUlrich Drepper <drepper@redhat.com>2001-01-05 06:43:17 +0000
commitf8f900ecb9096ec47f5b7bb7626e29223c69061a (patch)
treedb49f68f1941a3495ba55df08f0fc5fa63ca7a6a /intl/loadinfo.h
parenteda6c725e7a3d6f5d78d5ae171d395cfd39b44bc (diff)
downloadglibc-f8f900ecb9096ec47f5b7bb7626e29223c69061a.zip
glibc-f8f900ecb9096ec47f5b7bb7626e29223c69061a.tar.gz
glibc-f8f900ecb9096ec47f5b7bb7626e29223c69061a.tar.bz2
Update
2001-01-04 H.J. Lu <hjl@gnu.org> * elf/dl-support.c (DL_FIND_AUXV): New. Defined if not defined. (_dl_clktck): Declared. (non_dynamic_init): Take 3 arguments. Set _dl_pagesize, _dl_platform and _dl_clktck from AUX. 2001-01-01 Bruno Haible <haible@clisp.cons.org> Finish implementation of plural form handling. * intl/dcigettext.c (known_translation_t): Rename 'domain' field to 'domainname'. Remove 'plindex' field. Add 'domain' and 'translation_length' fields. (transcmp): Don't compare 'plindex' fields. (plural_lookup): New function. (DCIGETTEXT): Change cache handing in the plural case. Don't call plural_eval before the translation and its catalog file have been found. Remove plindex from cache key. Add 'translation_length' and 'domain' to cache result. (_nl_find_msg): Remove index argument, return length of translation to the caller instead. Weaken comparison of string lengths, to account for plural entries. Call iconv() on the entire result string, not only on the portion needed so far. * intl/loadinfo.h (_nl_find_msg): Remove index argument, add lengthp argument. * intl/loadmsgcat.c (_nl_load_domain): Adapt to _nl_find_msg change.
Diffstat (limited to 'intl/loadinfo.h')
-rw-r--r--intl/loadinfo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/intl/loadinfo.h b/intl/loadinfo.h
index 1013470..a48433e 100644
--- a/intl/loadinfo.h
+++ b/intl/loadinfo.h
@@ -101,7 +101,7 @@ extern char *_nl_find_language PARAMS ((const char *name));
extern char *_nl_find_msg PARAMS ((struct loaded_l10nfile *domain_file,
- const char *msgid, unsigned long int index))
+ const char *msgid, size_t *lengthp))
internal_function;
#endif /* loadinfo.h */