From e3f4e6ec94f7515b83ddb8bb20349f828b1c156a Mon Sep 17 00:00:00 2001 From: Emery Berger Date: Mon, 6 Feb 2023 09:41:45 -0500 Subject: [PATCH] Restored unlinking of files. --- src/include/samplefile.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/include/samplefile.hpp b/src/include/samplefile.hpp index b0afeaa30..abf02b72c 100644 --- a/src/include/samplefile.hpp +++ b/src/include/samplefile.hpp @@ -119,9 +119,9 @@ class SampleFile { ~SampleFile() { munmap(_mmap, MAX_FILE_SIZE); munmap(_lastpos, LOCK_FD_SIZE); - // unlink(_signalfile); - // unlink(_lockfile); - // unlink(_init_filename); + unlink(_signalfile); + unlink(_lockfile); + unlink(_init_filename); } void writeToFile(char *line) { // , int is_malloc) { _spin_lock->lock();