chore(libc): make file open slash preferred for system
This commit is contained in:
parent
1e4740ed4b
commit
b0b1902b0f
|
|
@ -14,7 +14,7 @@ extern "C" std::filesystem::path ResolvePath_nid_no_patch(const char* path) {
|
|||
++start;
|
||||
}
|
||||
std::filesystem::path result = std::filesystem::current_path() / std::filesystem::path(s.substr(start));
|
||||
return result;
|
||||
return result.make_preferred();
|
||||
}
|
||||
|
||||
extern "C" void NotImplemented_nid_no_patch(const char* funcName) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue