mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-29 04:57:52 +00:00
[master] Some other/new s/unlink/remove/
This commit is contained in:
parent
ebad861feb
commit
b183c1619f
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user