diff options
-rw-r--r-- | extensions/source/plugin/unx/unxmgr.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/extensions/source/plugin/unx/unxmgr.cxx b/extensions/source/plugin/unx/unxmgr.cxx index d7d50c97a626..85b56cda6a3e 100644 --- a/extensions/source/plugin/unx/unxmgr.cxx +++ b/extensions/source/plugin/unx/unxmgr.cxx @@ -184,7 +184,7 @@ static bool CheckPlugin( const rtl::OString& rPath, list< PluginDescription* >& union maxDirent { - char aBuffer[ sizeof( struct dirent ) + _PC_NAME_MAX +1 ]; + char aBuffer[ sizeof( struct dirent ) + PATH_MAX +1 ]; struct dirent asDirent; }; |