summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Luby <pluby@openoffice.org>2001-03-13 06:30:46 +0000
committerPatrick Luby <pluby@openoffice.org>2001-03-13 06:30:46 +0000
commit41970b0104b898f81b04e8e08b72713a31590a03 (patch)
treef97d42cc1ec80581e4c3db4e08cf582f66baa9f4
parent506aea6bd135c3919d3a4cfdb186a11cd0f4fa95 (diff)
Change strcat to strcpy to fix Mac OS X bug
-rw-r--r--sal/osl/unx/module.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sal/osl/unx/module.c b/sal/osl/unx/module.c
index 509961d4e8cc..6619cf1784de 100644
--- a/sal/osl/unx/module.c
+++ b/sal/osl/unx/module.c
@@ -2,9 +2,9 @@
*
* $RCSfile: module.c,v $
*
- * $Revision: 1.11 $
+ * $Revision: 1.12 $
*
- * last change: $Author: pluby $ $Date: 2001-03-10 23:21:40 $
+ * last change: $Author: pluby $ $Date: 2001-03-13 07:30:46 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -158,7 +158,7 @@ oslModule SAL_CALL osl_psz_loadModule(const sal_Char *pszModuleName, sal_Int32 n
/* Try checking in the system directories */
if ( ! pszModulePath )
{
- strcat( path, "/System/Library/Frameworks/" );
+ strcpy( path, "/System/Library/Frameworks/" );
strcat( path, pszModuleName );
pszModulePath = path;
}