Skip to content

Commit

Permalink
Restored unlinking of files.
Browse files Browse the repository at this point in the history
  • Loading branch information
emeryberger committed Feb 6, 2023
1 parent a84ae12 commit e3f4e6e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/include/samplefile.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit e3f4e6e

Please sign in to comment.