wrong module.
Reported by Robert Boehne <rboehne@ricardo-us.com>
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
{
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))
{