Commit b183c161 authored by Francis Dupont's avatar Francis Dupont
Browse files

[master] Some other/new s/unlink/remove/

parent ebad861f
......@@ -209,8 +209,8 @@ public:
HooksManager::unloadLibraries();
// Get rid of any marker files.
static_cast<void>(unlink(LOAD_MARKER_FILE));
static_cast<void>(unlink(UNLOAD_MARKER_FILE));
static_cast<void>(remove(LOAD_MARKER_FILE));
static_cast<void>(remove(UNLOAD_MARKER_FILE));
IfaceMgr::instance().deleteAllExternalSockets();
CfgMgr::instance().clear();
}
......
......@@ -834,7 +834,7 @@ Dhcpv6SrvTest::configure(const std::string& config, NakedDhcpv6Srv& srv) {
NakedDhcpv6SrvTest::NakedDhcpv6SrvTest()
: rcode_(-1) {
// it's ok if that fails. There should not be such a file anyway
unlink(DUID_FILE);
remove(DUID_FILE);
const isc::dhcp::IfaceMgr::IfaceCollection& ifaces =
isc::dhcp::IfaceMgr::instance().getIfaces();
......@@ -856,7 +856,7 @@ NakedDhcpv6SrvTest::~NakedDhcpv6SrvTest() {
isc::stats::StatsMgr::instance().removeAll();
// Let's clean up if there is such a file.
unlink(DUID_FILE);
remove(DUID_FILE);
isc::hooks::HooksManager::preCalloutsLibraryHandle()
.deregisterAllCallouts("buffer6_receive");
isc::hooks::HooksManager::preCalloutsLibraryHandle()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment