summaryrefslogtreecommitdiffstats
path: root/libexec
diff options
context:
space:
mode:
authorjdp <jdp@FreeBSD.org>1998-10-13 03:31:59 +0000
committerjdp <jdp@FreeBSD.org>1998-10-13 03:31:59 +0000
commit1c595710fde2571446f359653b96f7eaec8a3e98 (patch)
tree9638138dde2082821bb1c4469d5cfeaafaab2d84 /libexec
parentcc59ab7388520252d1e13702e45fd18b8f16576c (diff)
downloadFreeBSD-src-1c595710fde2571446f359653b96f7eaec8a3e98.zip
FreeBSD-src-1c595710fde2571446f359653b96f7eaec8a3e98.tar.gz
Fix a bug in dlclose that broke the apache13 port. The list of
loaded objects wasn't being maintained properly.
Diffstat (limited to 'libexec')
-rw-r--r--libexec/rtld-elf/rtld.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c
index bb23448..1698ed0 100644
--- a/libexec/rtld-elf/rtld.c
+++ b/libexec/rtld-elf/rtld.c
@@ -22,7 +22,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*
- * $Id: rtld.c,v 1.10 1998/09/16 02:54:08 jdp Exp $
+ * $Id: rtld.c,v 1.11 1998/09/22 02:09:56 jdp Exp $
*/
/*
@@ -1155,6 +1155,7 @@ dlclose(void *handle)
} else
linkp = &obj->next;
}
+ obj_tail = linkp;
}
GDB_STATE(RT_CONSISTENT);
OpenPOWER on IntegriCloud