Remove MAX_PATH limit from:

- GetTempFilenameForAtomicWrite
- SetUserDirectory
This commit is contained in:
Silent 2019-10-06 21:37:51 +02:00
commit 3b21d32865
No known key found for this signature in database
GPG key ID: AE53149BB0C45AF1
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