Changeset 695:712a0bb8d3bf in freeDiameter for tests/testloadext.c
- Timestamp:
- Jan 21, 2011, 4:18:39 PM (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tests/testloadext.c
r692 r695 69 69 /* We found a file with name *.fdx, attempt to load it */ 70 70 void *hdl, * ep; 71 int r;72 71 snprintf(fullname + pathlen, sizeof(fullname) - pathlen, "%s", dp->d_name); 73 72 … … 89 88 90 89 /* Done, now unload */ 91 r = dlclose(hdl); 92 if (r) { 93 TRACE_DEBUG(INFO, "Unable to dlclose '%s': %s.", fullname, dlerror()); 94 } 95 CHECK( 0, r ); 90 #ifndef SKIP_DLCLOSE 91 CHECK( 0, dlclose(hdl) ); 92 #endif /* SKIP_DLCLOSE */ 96 93 } 97 94 }
Note: See TracChangeset
for help on using the changeset viewer.