From 60de34fe2b2d7ddbc73ea87a2db1ccafee02bf53 Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Wed, 20 Dec 2000 23:06:15 +0000 Subject: [PATCH] * libltdl/ltdl.c (lt_dlexit): Was checking for residency of the wrong module. Reported by Robert Boehne --- ChangeLog | 4 ++++ libltdl/ltdl.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 44d6cdb69..eb991fae5 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)) { -- 2.47.3