/[cvs]/stack/stack.c
ViewVC logotype

Diff of /stack/stack.c

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

revision 1.8 by masse, Tue Jan 8 14:17:33 2002 UTC revision 1.9 by masse, Tue Jan 8 14:31:23 2002 UTC
# Line 128  int push_ref(stackitem** stack_head, has Line 128  int push_ref(stackitem** stack_head, has
128    new_item->content.ptr= *hash(in_hash, in_string);    new_item->content.ptr= *hash(in_hash, in_string);
129    new_item->type= ref;    new_item->type= ref;
130    
   if(handle==NULL)  
     handle= dlopen(NULL, RTLD_LAZY);  
   
131    if(new_item->content.ptr==NULL) {    if(new_item->content.ptr==NULL) {
132        if(handle==NULL)
133          handle= dlopen(NULL, RTLD_LAZY);    
134    
135      symbol= dlsym(handle, in_string);      symbol= dlsym(handle, in_string);
136      if(dlerror()==NULL)      if(dlerror()==NULL)
137        def_func(in_hash, symbol, in_string);        def_func(in_hash, symbol, in_string);

Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

root@recompile.se
ViewVC Help
Powered by ViewVC 1.1.26