Browse Source

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

master
heck 4 years ago
parent
commit
0291ee4737
  1. 7
      src/fs_mutex.cc

7
src/fs_mutex.cc

@ -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