]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/ltdl.c (lt_dlopen): use newhandle instead of handle
authorArchie Cobbs <archie@whistle.com>
Sat, 20 Feb 1999 05:23:31 +0000 (05:23 +0000)
committerAlexandre Oliva <aoliva@redhat.com>
Sat, 20 Feb 1999 05:23:31 +0000 (05:23 +0000)
where appropriate, when dlopening a non-libtool library

ChangeLog
libltdl/ltdl.c

index 1cfd594413163d45e5b5caa4ffc58839df0adc20..13c5873985c0e3598f0be8330593ea22b0587fa7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1999-02-20  Archie Cobbs  <archie@whistle.com>
+
+       * libltdl/ltdl.c (lt_dlopen): use newhandle instead of handle
+       where appropriate, when dlopening a non-libtool library
+
 1999-02-19  Gary V. Vaughan  <gvaughan@oranda.demon.co.uk>
 
        * ltconfig.in (export_symbols_cmds): renamed from
index fcf060e9bce838dd909cce65f966bc49f23f527e..edc927861658a8e3ae8f0141735a0d365a4068a6 100644 (file)
@@ -1194,16 +1194,17 @@ lt_dlopen (filename)
                handle->depcount = 0;
                handle->deplibs = 0;
                newhandle = handle;
-               if (tryall_dlopen(&handle, filename)
+               if (tryall_dlopen(&newhandle, filename)
                    && (!dir
-                       || (!find_file(basename, user_search_path, 0, &handle)
+                       || (!find_file(basename, user_search_path,
+                                         0, &newhandle)
                            && !find_file(basename,
                                          getenv("LTDL_LIBRARY_PATH"),
-                                         0, &handle)
+                                         0, &newhandle)
 #ifdef LTDL_SHLIBPATH_VAR
                            && !find_file(basename,
                                          getenv(LTDL_SHLIBPATH_VAR),
-                                         0, &handle)
+                                         0, &newhandle)
 #endif
                                ))) {
                        lt_dlfree(handle);