diff options
Diffstat (limited to 'locale/programs/ld-paper.c')
-rw-r--r-- | locale/programs/ld-paper.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/locale/programs/ld-paper.c b/locale/programs/ld-paper.c index d0ca850863..b55f98578d 100644 --- a/locale/programs/ld-paper.c +++ b/locale/programs/ld-paper.c @@ -143,6 +143,11 @@ paper_output (struct localedef_t *locale, struct charmap_t *charmap, iov[cnt].iov_len = 4; ++cnt; + idx[cnt - 2] = idx[cnt - 3] + iov[cnt - 1].iov_len; + iov[cnt].iov_base = (void *) charmap->code_set_name; + iov[cnt].iov_len = strlen (iov[cnt].iov_base) + 1; + ++cnt; + assert (cnt == 2 + _NL_ITEM_INDEX (_NL_NUM_LC_PAPER)); write_locale_data (output_path, "LC_PAPER", |