-
/*
- * $Id$
+ * Copyright (C) 1996-2020 The Squid Software Foundation and contributors
*
- * DEBUG: section 47 Store Directory Routines
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
*/
-#include "IpcIoIOStrategy.h"
+/* DEBUG: section 47 Store Directory Routines */
+
+#include "squid.h"
#include "IpcIoFile.h"
+#include "IpcIoIOStrategy.h"
+#include "unlinkd.h"
+
bool
IpcIoIOStrategy::shedLoad()
{
return new IpcIoFile (path);
}
+bool
+IpcIoIOStrategy::unlinkdUseful() const
+{
+ return true;
+}
+
void
IpcIoIOStrategy::unlinkFile(char const *path)
{
-#if USE_UNLINKD
unlinkdUnlink(path);
-#else
- ::unlink(path);
-#endif
}
+