diff options
| author | Dan Engelbrecht <[email protected]> | 2024-08-20 16:32:29 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2024-08-20 16:32:29 +0200 |
| commit | 6647ae37dba16bc426c69fe6ac80a15c03e15724 (patch) | |
| tree | a8f2c596a43e068904ab45d8f746db45bf750a03 /src/zencore/filesystem.cpp | |
| parent | close payload file if size mismatch for file cas (#128) (diff) | |
| download | zen-6647ae37dba16bc426c69fe6ac80a15c03e15724.tar.xz zen-6647ae37dba16bc426c69fe6ac80a15c03e15724.zip | |
handle "path not found" as well as "file not found" in directory travers on windows (#129)
Diffstat (limited to 'src/zencore/filesystem.cpp')
| -rw-r--r-- | src/zencore/filesystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zencore/filesystem.cpp b/src/zencore/filesystem.cpp index e41149d64..d79a39880 100644 --- a/src/zencore/filesystem.cpp +++ b/src/zencore/filesystem.cpp @@ -1180,7 +1180,7 @@ FileSystemTraversal::TraverseFileSystem(const std::filesystem::path& RootDir, Tr if (FAILED(hRes)) { - if (hRes == ERROR_FILE_NOT_FOUND) + if (hRes == ERROR_FILE_NOT_FOUND || hRes == ERROR_PATH_NOT_FOUND) { // Directory no longer exist, treat it as empty return; |