summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2011-05-26 05:10:50 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2011-05-26 05:10:50 +0000
commit53ea2fd438c7a1744deb39cc151ec922a17d43b3 (patch)
tree334db8c0c81fdb4c7accaa2e709901c2ab0c2cc0 /libexec
parent04f2fc9bd64817f24b0e047a475a29ca4b279a6d (diff)
No need to call _dl_newsymsearch() twice; ok drahn@
Diffstat (limited to 'libexec')
-rw-r--r--libexec/ld.so/resolve.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/libexec/ld.so/resolve.c b/libexec/ld.so/resolve.c
index d823a562765..520c4591da8 100644
--- a/libexec/ld.so/resolve.c
+++ b/libexec/ld.so/resolve.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: resolve.c,v 1.54 2011/05/22 22:43:47 drahn Exp $ */
+/* $OpenBSD: resolve.c,v 1.55 2011/05/26 05:10:49 otto Exp $ */
/*
* Copyright (c) 1998 Per Fogelstrom, Opsycon AB
@@ -236,13 +236,11 @@ _dl_rebuild_allobj_grouplist()
/* rebuild list */
_dl_newsymsearch();
+
/*
* search dlopened objects: global or req_obj == dlopened_obj
* and and it's children
*/
-
- _dl_newsymsearch();
-
TAILQ_FOREACH(n, &_dlopened_child_list, next_sib) {
childlistlen++;
#if 0