Changeset 695:712a0bb8d3bf in freeDiameter
- Timestamp:
- Jan 21, 2011, 4:18:39 PM (13 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
include/freeDiameter/freeDiameter-host.h.in
r662 r695 48 48 #cmakedefine SCTP_USE_MAPPED_ADDRESSES 49 49 #cmakedefine SCTP_CONNECTX_4_ARGS 50 #cmakedefine SKIP_DLCLOSE 50 51 51 52 #cmakedefine ERRORS_ON_TODO -
libfdcore/extensions.c
r662 r695 172 172 } 173 173 174 #ifndef SKIP_DLCLOSE 174 175 /* Now unload the extension */ 175 176 if (ext->handler) { … … 179 180 } 180 181 } 182 #endif /* SKIP_DLCLOSE */ 181 183 182 184 /* Free the object and continue */ -
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 } -
tests/tests.h
r693 r695 110 110 int sig; 111 111 sigset_t ss; 112 fd_log_threadname ( " timeoutcatcher" );112 fd_log_threadname ( "Test alarm catcher" ); 113 113 114 114 sigemptyset(&ss);
Note: See TracChangeset
for help on using the changeset viewer.