summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
authorNat Goodspeed <nat@lindenlab.com>2011-07-14 15:08:25 -0400
committerNat Goodspeed <nat@lindenlab.com>2011-07-14 15:08:25 -0400
commit4c465f496f602860f5044bded01fde8883083e70 (patch)
tree604f7f7b5a8fed71a6d75a546252207db72b7e75 /indra/llcommon
parent3ddaf95c5c0dc35f0efa91860f9642d4cdf26559 (diff)
Eliminate use of PATH_MAX, which is bogus anyway.
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/tests/llsdserialize_test.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indra/llcommon/tests/llsdserialize_test.cpp b/indra/llcommon/tests/llsdserialize_test.cpp
index 4e09a4fe3c..687c64dfeb 100644
--- a/indra/llcommon/tests/llsdserialize_test.cpp
+++ b/indra/llcommon/tests/llsdserialize_test.cpp
@@ -65,7 +65,7 @@ std::vector<U8> string_to_vector(const std::string& str)
boost::filesystem::path temp_directory_path()
{
#if LL_WINDOWS
- char buffer[PATH_MAX];
+ char buffer[4096];
GetTempPath(sizeof(buffer), buffer);
return boost::filesystem::path(buffer);