diff options
author | Ulrich Drepper <drepper@redhat.com> | 2003-08-26 08:08:21 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2003-08-26 08:08:21 +0000 |
commit | 2fe98a4ae7dadec3aa4dfed4fe041aacfa641de9 (patch) | |
tree | 52428ada97e14d545f2fa61119ed4d4e59e354a6 /elf | |
parent | 41c26b683e8f7d2eaec65d96cb9c7eba663dcd81 (diff) | |
download | glibc-2fe98a4ae7dadec3aa4dfed4fe041aacfa641de9.zip glibc-2fe98a4ae7dadec3aa4dfed4fe041aacfa641de9.tar.gz glibc-2fe98a4ae7dadec3aa4dfed4fe041aacfa641de9.tar.bz2 |
Update.
2003-08-26 Jakub Jelinek <jakub@redhat.com>
* elf/ldconfig.c (search_dir): When checking for GNU-style .so
link file use the real file name, not the resolved name we got by
following the symlinks.
Diffstat (limited to 'elf')
-rw-r--r-- | elf/ldconfig.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/elf/ldconfig.c b/elf/ldconfig.c index 64c4f64..3c348c9 100644 --- a/elf/ldconfig.c +++ b/elf/ldconfig.c @@ -793,7 +793,7 @@ search_dir (const struct dir_entry *entry) { /* If the path the link points to isn't its soname and it is not .so symlink for ld(1) only, we treat it as a normal file. */ - char *real_base_name = basename (real_name); + const char *real_base_name = basename (real_file_name); if (strcmp (real_base_name, soname) != 0) { |