* libltdl/ltdl.c (lt_dlopenadvise): Fix bogus error on
successful loading of library with lt_dlopenext.
Report by Kaiwang Chen in <http://bugs.debian.org/510006>.
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+2009-02-03 Kurt Roeckx <kurt@roeckx.be>
+
+ lt_dlopenext sets error upon successful library load.
+ * libltdl/ltdl.c (lt_dlopenadvise): Fix bogus error on
+ successful loading of library with lt_dlopenext.
+ Report by Kaiwang Chen in <http://bugs.debian.org/510006>.
+
2009-02-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
Fix sed script in install.at.
{
lt_dlhandle handle = 0;
int errors = 0;
+ const char * saved_error = 0;
+
+ LT__GETERROR (saved_error);
/* Can't have symbols hidden and visible at the same time! */
if (advise && advise->is_symlocal && advise->is_symglobal)
#if defined(LT_MODULE_EXT)
/* Try appending SHLIB_EXT. */
+ LT__SETERRORSTR (saved_error);
errors = try_dlopen (&handle, filename, shlib_ext, advise);
/* As before, if the file was found but loading failed, return now