Skip to content

Commit

Permalink
Update src/libcommonserver/io/iohelper.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Luc Guyot <162997198+luc-guyot-infomaniak@users.noreply.github.com>
  • Loading branch information
herve-er and luc-guyot-infomaniak authored Oct 9, 2024
1 parent 5d1438f commit 3915c59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcommonserver/io/iohelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@ bool IoHelper::checkIfPathExists(const SyncPath &path, bool &exists, IoError &io
return true;
}
#ifdef _WIN32 // TODO: Remove this block when migrating the release process to Visual Studio 2022.
// Prior to Visual Studio 2022, std::filesystem::symlink_status would return a missleading InvalidArgument if the path is
// Prior to Visual Studio 2022, std::filesystem::symlink_status would return a misleading InvalidArgument if the path is
// found but located on a FAT32 disk. If the file is not found, it works as expected. This behavior is fixed when compiling
// with VS2022, see https://developercommunity.visualstudio.com/t/std::filesystem::is_symlink-is-broken-on/1638272
if (ioError == IoError::InvalidArgument && !Utility::isNtfs(path)) {
Expand Down

0 comments on commit 3915c59

Please sign in to comment.