]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* libltdl/ltdl.c (lt_dlhandle_fetch): Arguments to
authorGary V. Vaughan <gary@gnu.org>
Wed, 17 May 2006 23:12:07 +0000 (23:12 +0000)
committerGary V. Vaughan <gary@gnu.org>
Wed, 17 May 2006 23:12:07 +0000 (23:12 +0000)
lt_dlhandle_iterate were in the wrong order.

ChangeLog
libltdl/ltdl.c

index f1e93ddd874b27eac44201fce3014467e1fcecbe..dfb70c66ac729f0e66e36ed56dfd90680191e7a4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-05-11  Gary V. Vaughan  <gary@gnu.org>
+
+       * libltdl/ltdl.c (lt_dlhandle_fetch): Arguments to
+       lt_dlhandle_iterate were in the wrong order.
+
 2006-05-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * libltdl/m4/libtool.m4 (_LT_LINKER_OPTION): Require
index 3c265a3528c8fb210e10575b3c8159828fb14fc1..a1731cce5bc91e10292644e2bec13c78d8c084a4 100644 (file)
@@ -1,5 +1,5 @@
 /* ltdl.c -- system independent dlopen wrapper
-   Copyright (C) 1998, 1999, 2000, 2004, 2005 Free Software Foundation, Inc.
+   Copyright (C) 1998, 1999, 2000, 2004, 2005, 2006 Free Software Foundation, Inc.
    Originally by Thomas Tanner <tanner@ffii.org>
 
    NOTE: The canonical source of this file is maintained with the
@@ -2156,7 +2156,7 @@ lt_dlhandle_fetch (lt_dlinterface_id iface, const char *module_name)
 
   assert (iface); /* iface is a required argument */
 
-  while ((handle = lt_dlhandle_iterate (handle, iface)))
+  while ((handle = lt_dlhandle_iterate (iface, handle)))
     {
       lt__handle *cur = (lt__handle *) handle;
       if (cur && cur->info.name && streq (cur->info.name, module_name))