Remove MAX_PATH limit from:

- GetTempFilenameForAtomicWrite
- SetUserDirectory
This commit is contained in:
Silent
2019-10-06 21:37:51 +02:00
parent b6545ea285
commit 3b21d32865
3 changed files with 36 additions and 23 deletions

View File

@ -172,7 +172,7 @@ bool SetCurrentDir(const std::string& directory);
std::string CreateTempDir();
// Get a filename that can hopefully be atomically renamed to the given path.
std::string GetTempFilenameForAtomicWrite(const std::string& path);
std::string GetTempFilenameForAtomicWrite(std::string path);
// Gets a set user directory path
// Don't call prior to setting the base user directory