diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-03-17 00:01:01 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-03-17 00:01:01 +0000 |
commit | e1f578d63b68f2c2b55fbd4e46086f1878de0cee (patch) | |
tree | 600a6b6b78aa9af0cff709869fe7ef6b51e33cdd /elf/dl-load.c | |
parent | a88775bd223d2937cec6939c843332e228640a2c (diff) | |
download | glibc-e1f578d63b68f2c2b55fbd4e46086f1878de0cee.tar.gz glibc-e1f578d63b68f2c2b55fbd4e46086f1878de0cee.tar.xz glibc-e1f578d63b68f2c2b55fbd4e46086f1878de0cee.zip |
Update.
2001-02-06 Jakub Jelinek <jakub@redhat.com> * elf/dl-load.c (_dl_map_object): Don't test l_opencount when looking for name matches.
Diffstat (limited to 'elf/dl-load.c')
-rw-r--r-- | elf/dl-load.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/elf/dl-load.c b/elf/dl-load.c index 0a5603f092..873a0bad4b 100644 --- a/elf/dl-load.c +++ b/elf/dl-load.c @@ -1514,9 +1514,7 @@ _dl_map_object (struct link_map *loader, const char *name, int preloaded, /* If the requested name matches the soname of a loaded object, use that object. Elide this check for names that have not yet been opened. */ - /* XXX Is this test still correct after the reference counter - handling rewrite? */ - if (l->l_opencount == 0) + if (l->l_faked == 0) continue; if (!_dl_name_match_p (name, l)) { |