Update.
authorUlrich Drepper <drepper@redhat.com>
Fri, 20 Dec 2002 10:32:08 +0000 (10:32 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 20 Dec 2002 10:32:08 +0000 (10:32 +0000)
* 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>

12 files changed:
ChangeLog
locale/programs/ld-measurement.c
nptl/Banner
sysdeps/unix/sysv/linux/alpha/bits/shm.h
sysdeps/unix/sysv/linux/bits/shm.h
sysdeps/unix/sysv/linux/hppa/bits/shm.h
sysdeps/unix/sysv/linux/ia64/bits/shm.h
sysdeps/unix/sysv/linux/mips/bits/shm.h
sysdeps/unix/sysv/linux/powerpc/bits/shm.h
sysdeps/unix/sysv/linux/s390/bits/shm.h
sysdeps/unix/sysv/linux/sparc/bits/shm.h
sysdeps/unix/sysv/linux/x86_64/bits/shm.h

index 227655b..81056fb 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,23 @@
 2002-12-20  Ulrich Drepper  <drepper@redhat.com>
 
+       * 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>
+
        * include/libio.h [_IO_MTSAFE_IO && _IO_lock_inexpensive]:
        Redefine _IO_flockifle and _IO_funlockfile as inlines.
 
index 2aa75b4..e3ec901 100644 (file)
@@ -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;
index 60acf42..69e4cc9 100644 (file)
@@ -1 +1 @@
-nptl 0.12 by Ulrich Drepper
+nptl 0.13 by Ulrich Drepper
index ae51e75..4184265 100644 (file)
@@ -67,6 +67,7 @@ struct shmid_ds
 /* shm_mode upper byte flags */
 # define SHM_DEST      01000   /* segment will be destroyed on last detach */
 # define SHM_LOCKED    02000   /* segment will not be swapped */
+# define SHM_HUGETLB   04000   /* segment is mapped via hugetlb */
 
 struct shminfo
   {
index 1368df0..6d5c88d 100644 (file)
@@ -70,6 +70,7 @@ struct shmid_ds
 /* shm_mode upper byte flags */
 # define SHM_DEST      01000   /* segment will be destroyed on last detach */
 # define SHM_LOCKED    02000   /* segment will not be swapped */
+# define SHM_HUGETLB   04000   /* segment is mapped via hugetlb */
 
 struct shminfo
   {
index a07213c..1c022fd 100644 (file)
@@ -78,6 +78,7 @@ struct shmid_ds
 /* shm_mode upper byte flags */
 # define SHM_DEST      01000   /* segment will be destroyed on last detach */
 # define SHM_LOCKED    02000   /* segment will not be swapped */
+# define SHM_HUGETLB   04000   /* segment is mapped via hugetlb */
 
 struct shminfo
   {
index 2985d88..078345d 100644 (file)
@@ -63,6 +63,7 @@ struct shmid_ds
 /* shm_mode upper byte flags */
 # define SHM_DEST      01000   /* segment will be destroyed on last detach */
 # define SHM_LOCKED    02000   /* segment will not be swapped */
+# define SHM_HUGETLB   04000   /* segment is mapped via hugetlb */
 
 struct shminfo
   {
index 85b286e..a512afe 100644 (file)
@@ -67,6 +67,7 @@ struct shmid_ds
 /* shm_mode upper byte flags */
 # define SHM_DEST      01000   /* segment will be destroyed on last detach */
 # define SHM_LOCKED    02000   /* segment will not be swapped */
+# define SHM_HUGETLB   04000   /* segment is mapped via hugetlb */
 
 struct shminfo
   {
index 5316f09..38379ac 100644 (file)
@@ -79,6 +79,7 @@ struct shmid_ds
 /* shm_mode upper byte flags */
 # define SHM_DEST      01000   /* segment will be destroyed on last detach */
 # define SHM_LOCKED    02000   /* segment will not be swapped */
+# define SHM_HUGETLB   04000   /* segment is mapped via hugetlb */
 
 struct shminfo
   {
index 44e0adc..682e24e 100644 (file)
@@ -77,6 +77,7 @@ struct shmid_ds
 /* shm_mode upper byte flags */
 # define SHM_DEST      01000   /* segment will be destroyed on last detach */
 # define SHM_LOCKED    02000   /* segment will not be swapped */
+# define SHM_HUGETLB   04000   /* segment is mapped via hugetlb */
 
 struct shminfo
   {
index c85b07a..144f311 100644 (file)
@@ -77,6 +77,7 @@ struct shmid_ds
 /* shm_mode upper byte flags */
 # define SHM_DEST      01000   /* segment will be destroyed on last detach */
 # define SHM_LOCKED    02000   /* segment will not be swapped */
+# define SHM_HUGETLB   04000   /* segment is mapped via hugetlb */
 
 struct shminfo
   {
index 142bf90..005d643 100644 (file)
@@ -76,6 +76,7 @@ struct shmid_ds
 /* shm_mode upper byte flags */
 # define SHM_DEST      01000   /* segment will be destroyed on last detach */
 # define SHM_LOCKED    02000   /* segment will not be swapped */
+# define SHM_HUGETLB   04000   /* segment is mapped via hugetlb */
 
 struct shminfo
   {