]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/ltdl.c (lt_dlexit): Was checking for residency of the
authorGary V. Vaughan <gary@gnu.org>
Wed, 20 Dec 2000 23:50:09 +0000 (23:50 +0000)
committerGary V. Vaughan <gary@gnu.org>
Wed, 20 Dec 2000 23:50:09 +0000 (23:50 +0000)
wrong module.
Reported by Robert Boehne  <rboehne@ricardo-us.com>

ChangeLog
libltdl/ltdl.c

index 2802e94af00a06f4b4b1e19c42719b92983785fd..4d5436b986d38f3de029d3422e278d974866575e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index dbf4de152fe91809427b3a52f8680a2b4afb9993..df381eaa12d1e7caf198e7d53a54b4c4e5c94d96 100644 (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))
                    {