* libltdl/ltdl.c (lt_dlexit): Was checking for residency of the

wrong module.
Reported by Robert Boehne  <rboehne@ricardo-us.com>
This commit is contained in:
Gary V. Vaughan 2000-12-20 23:50:09 +00:00
parent 325c26d1a4
commit 22218cc780
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,9 @@
2000-12-20 Gary V. Vaughan <gvv@techie.com>
* libltdl/ltdl.c (lt_dlexit): Was checking for residency of the
wrong module.
Reported by Robert Boehne <rboehne@ricardo-us.com>
* ltmain.in (dlprefiles): Now that `2000-12-15 Utz-Uwe Haus' patch
below can detect preopened library deplibs correctly in libltdl,
we need to ensure that libtool library deplibs are also preloaded

View File

@ -1115,7 +1115,7 @@ lt_dlexit ()
{
lt_dlhandle tmp = cur;
cur = cur->next;
if (!LT_DLIS_RESIDENT (cur) && tmp->info.ref_count <= level)
if (!LT_DLIS_RESIDENT (tmp) && tmp->info.ref_count <= level)
{
if (lt_dlclose (tmp))
{