diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-07-01 00:04:28 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-07-01 00:04:28 +0000 |
commit | 7f4553513cc2e247fa40ba80485f41e942ba6c9b (patch) | |
tree | e36914ab8b7498d309df6ece1c43d50ef8d71f7e /locale/programs | |
parent | fb46e8d2849c0511de963572646c4114cb427599 (diff) | |
download | glibc-7f4553513cc2e247fa40ba80485f41e942ba6c9b.tar glibc-7f4553513cc2e247fa40ba80485f41e942ba6c9b.tar.gz glibc-7f4553513cc2e247fa40ba80485f41e942ba6c9b.tar.bz2 glibc-7f4553513cc2e247fa40ba80485f41e942ba6c9b.zip |
Update.
* iconv/gconv_trans.c: Test with _NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN
whether this information is available.
* intl/dcigettext.c (_nl_find_msg): Correct reallocation of
buffers in case the translation is too large. Remember allocated
memory blocks in a list.
(free_mem): Free memory for translations.
* intl/tst-gettext.c: Use correct locale. Improve error messages.
* locale/programs/ld-ctype.c (ctype_output): If no default_missing
information is available set the string length to zero.
Diffstat (limited to 'locale/programs')
-rw-r--r-- | locale/programs/ld-ctype.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/programs/ld-ctype.c b/locale/programs/ld-ctype.c index d3e3d7c30a..156bd101e2 100644 --- a/locale/programs/ld-ctype.c +++ b/locale/programs/ld-ctype.c @@ -1078,7 +1078,7 @@ ctype_output (struct localedef_t *locale, struct charmap_t *charmap, case _NL_ITEM_INDEX(_NL_CTYPE_TRANSLIT_DEFAULT_MISSING_LEN): default_missing_len = (ctype->default_missing ? wcslen ((wchar_t *)ctype->default_missing) - : 1); + : 0); iov[2 + elem + offset].iov_base = &default_missing_len; iov[2 + elem + offset].iov_len = sizeof (uint32_t); idx[elem + 1] = idx[elem] + iov[2 + elem + offset].iov_len; |