+2007-08-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
+
+ * libltdl/ltdl.c (try_dlopen): Use `attempt' rather than
+ `filename', as the former has the needed extension when called
+ by lt_dlopenext.
+ Report by Brian Barrett.
+
2007-07-27 Peter Rosin <peda@lysator.liu.se>
* Makefile.am: Pass STRIP through to the testsuite, so that
}
newhandle = *phandle;
- if (tryall_dlopen (&newhandle, filename, advise, vtable) == 0)
+ if (tryall_dlopen (&newhandle, attempt, advise, vtable) == 0)
{
goto register_handle;
}
}
if (!file)
{
- file = fopen (filename, LT_READTEXT_MODE);
+ file = fopen (attempt, LT_READTEXT_MODE);
}
/* If we didn't find the file by now, it really isn't there. Set
#endif
)))
{
- if (tryall_dlopen (&newhandle, filename, advise, 0) != 0)
+ if (tryall_dlopen (&newhandle, attempt, advise, 0) != 0)
{
newhandle = NULL;
}