Browse Source

path_ensure_not_existing() doesn't seem to be used on Windows...

pull/8/head
Thomas 3 months ago
parent
commit
d4b35f3536
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/std_utils.cc

+ 1
- 1
src/std_utils.cc View File

@ -118,6 +118,7 @@ namespace pEp {
return ss.str();
}
#ifndef WIN32
void path_ensure_not_existing(const string &path)
{
while (path_exists(path)) {
@ -125,7 +126,6 @@ namespace pEp {
}
}
#ifndef WIN32
void dir_create(const string &dirname, const mode_t mode)
{
if (mkdir(dirname.c_str(), mode) != 0) {


Loading…
Cancel
Save