aboutsummaryrefslogtreecommitdiff
path: root/locale
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-12-20 10:32:08 +0000
committerUlrich Drepper <drepper@redhat.com>2002-12-20 10:32:08 +0000
commit48f936a240d666d8adaa342abb7c289dafb1ec03 (patch)
tree4a2e28d5605f6910593af47cba7de20f6a8f70e8 /locale
parent1561bf636d195795688e81b19fd42cdc2f5e6975 (diff)
downloadglibc-48f936a240d666d8adaa342abb7c289dafb1ec03.zip
glibc-48f936a240d666d8adaa342abb7c289dafb1ec03.tar.gz
glibc-48f936a240d666d8adaa342abb7c289dafb1ec03.tar.bz2
Update.
* sysdeps/unix/sysv/linux/alpha/bits/shm.h: Define SHM_HUGETLB. * sysdeps/unix/sysv/linux/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/hppa/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/ia64/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise. * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Likewise. Patch by William Lee Irwin <wli@holomorphy.com>. 2002-12-20 Andreas Schwab <schwab@suse.de> * locale/programs/ld-measurement.c (measurement_output): Fix index calculation. 2002-12-20 Ulrich Drepper <drepper@redhat.com>
Diffstat (limited to 'locale')
-rw-r--r--locale/programs/ld-measurement.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/programs/ld-measurement.c b/locale/programs/ld-measurement.c
index 2aa75b4..e3ec901 100644
--- a/locale/programs/ld-measurement.c
+++ b/locale/programs/ld-measurement.c
@@ -143,7 +143,7 @@ measurement_output (struct localedef_t *locale,
iov[cnt].iov_len = 1;
++cnt;
- idx[cnt - 2] = iov[0].iov_len + iov[1].iov_len;
+ 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;