From 8899dbef3c8bcb597df1711b43d4193ea3733d04 Mon Sep 17 00:00:00 2001 From: Siana Gearz Date: Fri, 27 Jan 2012 05:05:42 +0100 Subject: [PATCH] Fix plug-ins not working when path >32 characters --- indra/llvfs/lldir_linux.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/llvfs/lldir_linux.cpp b/indra/llvfs/lldir_linux.cpp index a4df354c5..3c74e50a4 100644 --- a/indra/llvfs/lldir_linux.cpp +++ b/indra/llvfs/lldir_linux.cpp @@ -117,7 +117,7 @@ LLDir_Linux::LLDir_Linux() mOSUserAppDir = ""; mLindenUserDir = ""; - char path [32]; /* Flawfinder: ignore */ + char path [MAX_PATH]; /* Flawfinder: ignore */ // *NOTE: /proc/%d/exe doesn't work on FreeBSD. But that's ok, // because this is the linux implementation.