From db2840b0384f412b26138af75107568964eade97 Mon Sep 17 00:00:00 2001 From: jdp Date: Tue, 13 Oct 1998 03:31:59 +0000 Subject: [PATCH] Fix a bug in dlclose that broke the apache13 port. The list of loaded objects wasn't being maintained properly. --- libexec/rtld-elf/rtld.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c index bb23448a8c31..1698ed02860c 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);