diff options
author | Eike Rathke <erack@redhat.com> | 2013-03-30 19:38:27 +0100 |
---|---|---|
committer | Eike Rathke <erack@redhat.com> | 2013-03-30 19:39:56 +0100 |
commit | 5813cb01c76404a61e3c8082630b4cfafa91de7d (patch) | |
tree | 84e160f3d826bd6e084cf5526aa8ccd5f6f20835 /extensions | |
parent | 2cd4e55bb36a9a3d13971b530469188e3fb59dfe (diff) |
certainly this was not meant to be _PC_NAME_MAX
_PC_NAME_MAX is a symbolic constant meant to be used as a pathconf()
argument, not a buffer length.
See also 2cd4e55bb36a9a3d13971b530469188e3fb59dfe
Change-Id: I94d19bd6f9f0ae501329d6a1edecad630f44b356
Diffstat (limited to 'extensions')
-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; }; |