? patches ? ltdl-m4-split-DLOPEN Index: ChangeLog =================================================================== RCS file: /home/cvs/libtool/ChangeLog,v retrieving revision 1.641.2.155 diff -u -p -r1.641.2.155 ChangeLog --- ChangeLog 2000/12/20 22:57:53 1.641.2.155 +++ ChangeLog 2000/12/20 23:04:53 @@ -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 Index: libltdl/ltdl.c =================================================================== RCS file: /home/cvs/libtool/libltdl/ltdl.c,v retrieving revision 1.82.2.11 diff -u -p -r1.82.2.11 ltdl.c --- libltdl/ltdl.c 2000/12/16 03:19:09 1.82.2.11 +++ libltdl/ltdl.c 2000/12/20 23:04:58 @@ -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)) {