diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-02-14 01:37:36 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-02-14 01:37:36 +0000 |
commit | be8c46fcefee7528d3a25171b1a189e1ae111337 (patch) | |
tree | d2a0059b8c837b18529371e9edfa08c9813a2c8f /locale | |
parent | 9adc32d814b7cd29711f9e35272a1265b99cd297 (diff) | |
download | glibc-be8c46fcefee7528d3a25171b1a189e1ae111337.tar glibc-be8c46fcefee7528d3a25171b1a189e1ae111337.tar.gz glibc-be8c46fcefee7528d3a25171b1a189e1ae111337.tar.bz2 glibc-be8c46fcefee7528d3a25171b1a189e1ae111337.zip |
Update.
* locale/programs/ld-paper.c (paper_output): Pretty printing.
* sysdeps/generic/glob.c: Likewise. Convert results of gl_readdir
* sysdeps/generic/utmp_file.c: Use LFS functions and types.
Diffstat (limited to 'locale')
-rw-r--r-- | locale/programs/ld-paper.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/locale/programs/ld-paper.c b/locale/programs/ld-paper.c index 776c780834..a3b54fd7d9 100644 --- a/locale/programs/ld-paper.c +++ b/locale/programs/ld-paper.c @@ -133,12 +133,12 @@ paper_output (struct localedef_t *locale, struct charmap_t *charmap, iov[cnt].iov_len = sizeof (idx); ++cnt; - idx[cnt - 2] = iov[0].iov_len + iov[1].iov_len; + idx[cnt - 2] = iov[cnt - 2].iov_len + iov[cnt - 1].iov_len; iov[cnt].iov_base = &paper->height; iov[cnt].iov_len = 4; ++cnt; - idx[cnt - 2] = idx[cnt - 3] + iov[cnt - 1].iov_len; + idx[cnt - 2] = idx[cnt - 2] + iov[cnt - 1].iov_len; iov[cnt].iov_base = &paper->width; iov[cnt].iov_len = 4; ++cnt; |