Merge branch 'upstream-KWSys' into update-kwsys

# By KWSys Upstream
* upstream-KWSys:
  KWSys 2025-04-02 (284a7281)
This commit is contained in:
Brad King committed 2025-04-02 08:29:55 -04:00
commit c813d47353
1 file changed
+3
+3
View File
@@ -329,6 +329,9 @@ inline char const* Getcwd(char* buf, unsigned int len)
}
inline int Chdir(std::string const& dir)
{
// We cannot use ToWindowsExtendedPath here because that causes a
// UNC path to be recorded as the process working directory, and
// can break child processes.
return _wchdir(KWSYS_NAMESPACE::Encoding::ToWide(dir).c_str());
}
inline void Realpath(std::string const& path, std::string& resolved_path,