diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-10-08 21:12:18 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-10-08 21:12:18 +0000 |
commit | 943ae89d56bdaf74caee27d56689ccd9c52fed96 (patch) | |
tree | 3fef42a73836f3ef1dd97abe1e546e6958ca1566 | |
parent | e700a90879806fa32aa21efbf877db646a8d9fd8 (diff) | |
download | glibc-943ae89d56bdaf74caee27d56689ccd9c52fed96.tar glibc-943ae89d56bdaf74caee27d56689ccd9c52fed96.tar.gz glibc-943ae89d56bdaf74caee27d56689ccd9c52fed96.tar.bz2 glibc-943ae89d56bdaf74caee27d56689ccd9c52fed96.zip |
Update.
2003-10-08 Jakub Jelinek <jakub@redhat.com>
* sysdeps/generic/dl-sysdep.c (_dl_important_hwcaps): Don't generate
two identical copies of strings.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | sysdeps/generic/dl-sysdep.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -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; |