From e9c0c901e2d74c8684efe0ccfea7e230dc66d088 Mon Sep 17 00:00:00 2001 From: Alexander Batalov Date: Mon, 13 Jun 2022 19:48:30 +0300 Subject: [PATCH] Fix compat_mkdir to use native path --- src/platform_compat.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform_compat.cc b/src/platform_compat.cc index 185f7e3..5b204d0 100644 --- a/src/platform_compat.cc +++ b/src/platform_compat.cc @@ -137,7 +137,7 @@ int compat_mkdir(const char* path) compat_windows_path_to_native(nativePath); std::error_code ec; - if (std::filesystem::create_directory(std::filesystem::path(path), ec)) { + if (std::filesystem::create_directory(std::filesystem::path(nativePath), ec)) { return 0; }