diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/generic/dl-sysdep.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 039f640af1..cd7013f33d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2003-10-08 Jakub Jelinek <jakub@redhat.com> + + * sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Don't generate + two identical copies of strings. + 2003-10-06 Ulrich Drepper <drepper@redhat.com> * posix/bug-regex11.c: Add some more tests which fail so far. diff --git a/sysdeps/generic/dl-sysdep.c b/sysdeps/generic/dl-sysdep.c index 8408e38085..40dcf8060e 100644 --- a/sysdeps/generic/dl-sysdep.c +++ b/sysdeps/generic/dl-sysdep.c @@ -454,7 +454,7 @@ _dl_important_hwcaps (const char *platform, size_t platform_len, size_t *sz, } else { - n = 1 << cnt; + n = 1 << (cnt - 1); do { n -= 2; |