summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordrahn <drahn@openbsd.org>2005-05-30 23:31:16 +0000
committerdrahn <drahn@openbsd.org>2005-05-30 23:31:16 +0000
commit12d1cc8ed9ff659f58d579a235e58437e5b36188 (patch)
tree935e6e44f53607384db97bf8a773133133f72e13
parentOnly enable the FPU when the process has an FPU context. ok miod@ (diff)
downloadwireguard-openbsd-12d1cc8ed9ff659f58d579a235e58437e5b36188.tar.xz
wireguard-openbsd-12d1cc8ed9ff659f58d579a235e58437e5b36188.zip
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.
-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);
- }
}
}