Skip to content
Snippets Groups Projects
Commit 4c465f49 authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

Eliminate use of PATH_MAX, which is bogus anyway.

parent 3ddaf95c
No related branches found
No related tags found
No related merge requests found
...@@ -65,7 +65,7 @@ std::vector<U8> string_to_vector(const std::string& str) ...@@ -65,7 +65,7 @@ std::vector<U8> string_to_vector(const std::string& str)
boost::filesystem::path temp_directory_path() boost::filesystem::path temp_directory_path()
{ {
#if LL_WINDOWS #if LL_WINDOWS
char buffer[PATH_MAX]; char buffer[4096];
GetTempPath(sizeof(buffer), buffer); GetTempPath(sizeof(buffer), buffer);
return boost::filesystem::path(buffer); return boost::filesystem::path(buffer);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment