mirror of
git://git.savannah.gnu.org/libtool.git
synced 2024-11-27 06:09:57 +08:00
* 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.
This commit is contained in:
parent
8b8688e3ee
commit
2e54f75846
@ -1,3 +1,10 @@
|
||||
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
|
||||
|
@ -1255,7 +1255,7 @@ try_dlopen (lt_dlhandle *phandle, const char *filename, const char *ext,
|
||||
}
|
||||
newhandle = *phandle;
|
||||
|
||||
if (tryall_dlopen (&newhandle, filename, advise, vtable) == 0)
|
||||
if (tryall_dlopen (&newhandle, attempt, advise, vtable) == 0)
|
||||
{
|
||||
goto register_handle;
|
||||
}
|
||||
@ -1317,7 +1317,7 @@ try_dlopen (lt_dlhandle *phandle, const char *filename, const char *ext,
|
||||
}
|
||||
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
|
||||
@ -1415,7 +1415,7 @@ try_dlopen (lt_dlhandle *phandle, const char *filename, const char *ext,
|
||||
#endif
|
||||
)))
|
||||
{
|
||||
if (tryall_dlopen (&newhandle, filename, advise, 0) != 0)
|
||||
if (tryall_dlopen (&newhandle, attempt, advise, 0) != 0)
|
||||
{
|
||||
newhandle = NULL;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user