Fix a bug in dlclose that broke the apache13 port. The list of

loaded objects wasn't being maintained properly.
This commit is contained in:
jdp 1998-10-13 03:31:59 +00:00
parent 4a86565076
commit db2840b038

View File

@ -22,7 +22,7 @@
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * 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 } else
linkp = &obj->next; linkp = &obj->next;
} }
obj_tail = linkp;
} }
GDB_STATE(RT_CONSISTENT); GDB_STATE(RT_CONSISTENT);