diff options
author | Ulrich Drepper <drepper@redhat.com> | 2000-07-18 08:13:18 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2000-07-18 08:13:18 +0000 |
commit | c6df09adf24ef80a84ae81680604165e74779f54 (patch) | |
tree | ef59e1706a6df16988d8cec066440a42ea85746a /locale/programs/ld-ctype.c | |
parent | 9aaac141b33408ca6128cf7dd34a6b24b6a4f95e (diff) | |
download | glibc-c6df09adf24ef80a84ae81680604165e74779f54.zip glibc-c6df09adf24ef80a84ae81680604165e74779f54.tar.gz glibc-c6df09adf24ef80a84ae81680604165e74779f54.tar.bz2 |
Update.
2000-07-18 Ulrich Drepper <drepper@redhat.com>
* intl/Makefile: Make sure tst-translit is run after tst-gettext.
* locale/C-ctype.c: Add initializers for gap elements.
* locale/programs/ld-ctype.c (ctype_output): Write out index entries
for gap elements.
Diffstat (limited to 'locale/programs/ld-ctype.c')
-rw-r--r-- | locale/programs/ld-ctype.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/locale/programs/ld-ctype.c b/locale/programs/ld-ctype.c index ba40f2e..e297aeb 100644 --- a/locale/programs/ld-ctype.c +++ b/locale/programs/ld-ctype.c @@ -864,6 +864,17 @@ ctype_output (struct localedef_t *locale, struct charmap_t *charmap, if (elem < _NL_ITEM_INDEX (_NL_NUM_LC_CTYPE)) switch (elem) { +#define CTYPE_EMPTY(name) \ + case name: \ + iov[2 + elem + offset].iov_base = ""; \ + iov[2 + elem + offset].iov_len = 0; \ + idx[elem + 1] = idx[elem]; \ + break + + CTYPE_EMPTY(_NL_CTYPE_GAP1); + CTYPE_EMPTY(_NL_CTYPE_GAP2); + CTYPE_EMPTY(_NL_CTYPE_GAP3); + #define CTYPE_DATA(name, base, len) \ case _NL_ITEM_INDEX (name): \ iov[2 + elem + offset].iov_base = (base); \ |