From: Gary V. Vaughan Date: Wed, 20 Dec 2000 23:50:09 +0000 (+0000) Subject: * libltdl/ltdl.c (lt_dlexit): Was checking for residency of the X-Git-Tag: release-1-3d~33 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=22218cc78031727d814ca441ce3f92060167e307;p=thirdparty%2Flibtool.git * libltdl/ltdl.c (lt_dlexit): Was checking for residency of the wrong module. Reported by Robert Boehne --- diff --git a/ChangeLog b/ChangeLog index 2802e94af..4d5436b98 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2000-12-20 Gary V. Vaughan + * libltdl/ltdl.c (lt_dlexit): Was checking for residency of the + wrong module. + Reported by Robert Boehne + * 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 diff --git a/libltdl/ltdl.c b/libltdl/ltdl.c index dbf4de152..df381eaa1 100644 --- a/libltdl/ltdl.c +++ b/libltdl/ltdl.c @@ -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)) {