/[libtool]/libtool/libltdl/ltdl.c
ViewVC logotype

Diff of /libtool/libltdl/ltdl.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.138 by gary, Tue Jun 26 01:37:48 2001 UTC revision 1.139 by gary, Fri Jun 29 01:00:17 2001 UTC
# Line 1179  presym_add_symlist (preloaded) Line 1179  presym_add_symlist (preloaded)
1179    tmp = LT_DLMALLOC (lt_dlsymlists_t, 1);    tmp = LT_DLMALLOC (lt_dlsymlists_t, 1);
1180    if (tmp)    if (tmp)
1181      {      {
1182          memset (tmp, 0, 1*sizeof(lt_dlsymlists_t));
1183        tmp->syms = preloaded;        tmp->syms = preloaded;
1184        tmp->next = preloaded_symbols;        tmp->next = preloaded_symbols;
1185        preloaded_symbols = tmp;        preloaded_symbols = tmp;
# Line 2132  lt_dlopen (filename) Line 2133  lt_dlopen (filename)
2133            return 0;            return 0;
2134          }          }
2135    
2136        handle->info.ref_count    = 0;        memset (handle, 0, 1*sizeof(struct lt_dlhandle_struct));
       handle->depcount          = 0;  
       handle->deplibs           = 0;  
       handle->caller_data       = 0;  
2137        newhandle                 = handle;        newhandle                 = handle;
2138    
2139        /* lt_dlclose()ing yourself is very bad!  Disallow it.  */        /* lt_dlclose()ing yourself is very bad!  Disallow it.  */
# Line 2373  lt_dlopen (filename) Line 2371  lt_dlopen (filename)
2371            goto cleanup;            goto cleanup;
2372          }          }
2373    
2374        handle->info.ref_count = 0;        memset (handle, 0, 1*sizeof(struct lt_dlhandle_struct));
2375        if (load_deplibs (handle, deplibs) == 0)        if (load_deplibs (handle, deplibs) == 0)
2376          {          {
2377            newhandle = handle;            newhandle = handle;

Legend:
Removed from v.1.138  
changed lines
  Added in v.1.139

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26