bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tryall_dlopen_module swallows errors


From: Marius Vollmer
Subject: tryall_dlopen_module swallows errors
Date: 26 Aug 2001 23:53:46 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.0.102

Hi,

when ltdl.c:tryall_dlopen_module recurses on itself to honor the
prefix, it forgets to pass along the errors.  Here is a patch:

--- ltdl.c.~1.152.~     Sat Aug 25 20:59:17 2001
+++ ltdl.c      Sun Aug 26 23:40:28 2001
@@ -1954,7 +1955,7 @@
      shuffled.  Otherwise, attempt to open FILENAME as a module.  */
   if (prefix)
     {
-      tryall_dlopen_module (handle, 0, prefix, filename);
+      error += tryall_dlopen_module (handle, 0, prefix, filename);
     }
   else if (tryall_dlopen (handle, filename) != 0)
     {




reply via email to

[Prev in Thread] Current Thread [Next in Thread]