Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions core/libs/prx/libc/src/Rename.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,9 @@ static int RenamePath_nid_no_patch(const std::filesystem::path& source, const st
error.clear();
sameFile = fs::equivalent(source, destination, error);
if (error == std::errc::no_such_file_or_directory) error.clear();
#ifdef __APPLE__
if (error == std::errc::not_supported) error.clear();
#endif
if (error) return FilesystemError(error);
if (!sameFile && sourceIsDirectory && !destinationIsDirectory) return GuestEnotdir;
if (!sameFile && !sourceIsDirectory && destinationIsDirectory) return GuestEisdir;
Expand Down
Loading