* libltdl/ltdl.c (load_deplibs): Make sure the depcount is reset,

even when deplibs are not used because of the patch below.
This commit is contained in:
Gary V. Vaughan 2001-02-02 20:38:53 +00:00
parent 482d62add6
commit 230d659fcc
2 changed files with 9 additions and 5 deletions

View File

@ -1,4 +1,7 @@
2001-02-01 Gary V. Vaughan <gvv@techie.com>
2001-02-02 Gary V. Vaughan <gvv@techie.com>
* libltdl/ltdl.c (load_deplibs): Make sure the depcount is reset,
even when deplibs are not used because of the patch below.
* ltdl.m4 (AC_LTDL_SYS_DLOPEN_DEPLIBS): If we know that the host
architecture automatically loads deplibs, then...

View File

@ -1565,17 +1565,18 @@ load_deplibs(handle, deplibs)
lt_dlhandle handle;
char *deplibs;
{
int ret = 0;
#if LTDL_DLOPEN_DEPLIBS
char *p, *save_search_path;
int depcount = 0;
int i;
char **names = 0;
#endif
int ret = 0;
ret = 1;
handle->depcount = 0;
#if LTDL_DLOPEN_DEPLIBS
ret = 1;
if (!deplibs)
{
return 0;