From: Gary V. Vaughan Date: Wed, 17 May 2006 23:12:07 +0000 (+0000) Subject: * libltdl/ltdl.c (lt_dlhandle_fetch): Arguments to X-Git-Tag: release-2-1b~289 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=064b3922964d56e7caaf70336f3f6383420bffeb;p=thirdparty%2Flibtool.git * libltdl/ltdl.c (lt_dlhandle_fetch): Arguments to lt_dlhandle_iterate were in the wrong order. --- diff --git a/ChangeLog b/ChangeLog index f1e93ddd8..dfb70c66a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2006-05-11 Gary V. Vaughan + + * libltdl/ltdl.c (lt_dlhandle_fetch): Arguments to + lt_dlhandle_iterate were in the wrong order. + 2006-05-17 Ralf Wildenhues * libltdl/m4/libtool.m4 (_LT_LINKER_OPTION): Require diff --git a/libltdl/ltdl.c b/libltdl/ltdl.c index 3c265a352..a1731cce5 100644 --- a/libltdl/ltdl.c +++ b/libltdl/ltdl.c @@ -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 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))