Browse Source

FIX: fs-mutex - make resilient against cwd changes.

master
heck 9 months ago
parent
commit
0291ee4737
1 changed files with 3 additions and 4 deletions
  1. +3
    -4
      src/fs_mutex.cc

+ 3
- 4
src/fs_mutex.cc View File

@ -1,11 +1,11 @@
#include "fs_mutex.hh"
#include <pEp/std_utils.hh>
#include<fstream>
#include <fstream>
namespace pEp {
namespace PityTest11 {
fs_mutex::fs_mutex(std::string mutexpath) : mutexpath{ mutexpath } {}
fs_mutex::fs_mutex(std::string mutexpath) : mutexpath{ Utils::path_get_abs(mutexpath) } {}
void fs_mutex::aquire() const
{
@ -36,6 +36,5 @@ namespace pEp {
}
}
} // namespace PityTest
} // namespace PityTest11
} // namespace pEp

Loading…
Cancel
Save