/[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.134 by gary, Tue Apr 24 22:53:48 2001 UTC revision 1.134.2.1 by gary, Fri Jun 29 01:18:05 2001 UTC
# Line 1156  presym_add_symlist (preloaded) Line 1156  presym_add_symlist (preloaded)
1156    tmp = LT_DLMALLOC (lt_dlsymlists_t, 1);    tmp = LT_DLMALLOC (lt_dlsymlists_t, 1);
1157    if (tmp)    if (tmp)
1158      {      {
1159          memset (tmp, 0, 1*sizeof(lt_dlsymlists_t));
1160        tmp->syms = preloaded;        tmp->syms = preloaded;
1161        tmp->next = preloaded_symbols;        tmp->next = preloaded_symbols;
1162        preloaded_symbols = tmp;        preloaded_symbols = tmp;
# Line 2023  lt_dlopen (filename) Line 2024  lt_dlopen (filename)
2024            return 0;            return 0;
2025          }          }
2026    
2027        handle->info.ref_count    = 0;        memset (handle, 0, 1*sizeof(struct lt_dlhandle_struct));
       handle->depcount          = 0;  
       handle->deplibs           = 0;  
       handle->caller_data       = 0;  
2028        newhandle                 = handle;        newhandle                 = handle;
2029    
2030        /* lt_dlclose()ing yourself is very bad!  Disallow it.  */        /* lt_dlclose()ing yourself is very bad!  Disallow it.  */
# Line 2266  lt_dlopen (filename) Line 2264  lt_dlopen (filename)
2264            goto cleanup;            goto cleanup;
2265          }          }
2266    
2267        handle->info.ref_count = 0;        memset (handle, 0, 1*sizeof(struct lt_dlhandle_struct));
2268        if (load_deplibs (handle, deplibs) == 0)        if (load_deplibs (handle, deplibs) == 0)
2269          {          {
2270            newhandle = handle;            newhandle = handle;

Legend:
Removed from v.1.134  
changed lines
  Added in v.1.134.2.1

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