summaryrefslogtreecommitdiff
path: root/libexec/ld.so
diff options
context:
space:
mode:
authorDale Rahn <drahn@cvs.openbsd.org>2005-05-30 23:31:17 +0000
committerDale Rahn <drahn@cvs.openbsd.org>2005-05-30 23:31:17 +0000
commit7e1ee897708d22284eb50edcd85e802ae1f9d50c (patch)
tree60913c15925c9aa6b7d6ef8c12b247cae12e2b32 /libexec/ld.so
parent3cc7df8ba7d549827803d4e76d19326a7fa035fa (diff)
unload is not to be recursive anymore, previous diff change method but
this code was missed, fixes issue seen by tedu and millert hopefully php too.
Diffstat (limited to 'libexec/ld.so')
-rw-r--r--libexec/ld.so/library_mquery.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/libexec/ld.so/library_mquery.c b/libexec/ld.so/library_mquery.c
index e01361df8e1..e6814a001f1 100644
--- a/libexec/ld.so/library_mquery.c
+++ b/libexec/ld.so/library_mquery.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: library_mquery.c,v 1.20 2005/05/23 19:22:11 drahn Exp $ */
+/* $OpenBSD: library_mquery.c,v 1.21 2005/05/30 23:31:16 drahn Exp $ */
/*
* Copyright (c) 2002 Dale Rahn
@@ -67,10 +67,6 @@ _dl_unload_shlib(elf_object_t *object)
if (object->refcount == 0) {
_dl_load_list_free(object->load_list);
_dl_remove_object(object);
-
- for (n = object->first_child; n; n = n->next_sibling) {
- _dl_unload_shlib(n->data);
- }
}
}