/[pdpsoft]/trunk/grid-mw-security/ees/src/plugin_manager/plugin_manager.c
ViewVC logotype

Diff of /trunk/grid-mw-security/ees/src/plugin_manager/plugin_manager.c

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

revision 1351 by aramv, Thu Jan 7 16:38:30 2010 UTC revision 1352 by aramv, Fri Jan 8 17:32:05 2010 UTC
# Line 312  EES_RC clean_plugin_list(eef_plugindl_t Line 312  EES_RC clean_plugin_list(eef_plugindl_t
312          while(plugin_entry!=NULL){          while(plugin_entry!=NULL){
313      if(plugin_entry->handle != NULL){      if(plugin_entry->handle != NULL){
314        /* Valgrind can't trace modules past their dlclose-ing. See: http://valgrind.org/docs/manual/faq.html#faq.unhelpful */        /* Valgrind can't trace modules past their dlclose-ing. See: http://valgrind.org/docs/manual/faq.html#faq.unhelpful */
315        /*if(!getenv("VALGRIND")){*/        if(!getenv("VALGRIND")){
316          if((dlclose(plugin_entry->handle))){          if((dlclose(plugin_entry->handle))){
317            eef_log(LOG_ERR, "dlclose error %s while cleaning up plugin list\n", dlerror());            eef_log(LOG_ERR, "dlclose error %s while cleaning up plugin list\n", dlerror());
318            retval = EES_FAILURE;            retval = EES_FAILURE;
319          }          }
320          /*} else {*/        } else {
321          /*eef_log(LOG_DEBUG, "Running in valgrind, not dlclose'ing plugins\n");*/          eef_log(LOG_DEBUG, "Running in valgrind, not dlclose'ing plugins\n");
322          /*}*/        }
323      }      }
324    
325      /* free argv array */      /* free argv array */

Legend:
Removed from v.1351  
changed lines
  Added in v.1352

grid.support@nikhef.nl
ViewVC Help
Powered by ViewVC 1.1.28