Changeset 28916 in vbox for trunk/src/VBox/Runtime/r3
- Timestamp:
- Apr 29, 2010 6:13:54 PM (15 years ago)
- Location:
- trunk/src/VBox/Runtime/r3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/path.cpp
r28915 r28916 71 71 { 72 72 #if !defined(RT_OS_WINDOWS) && defined(RTPATH_APP_PRIVATE) 73 return RTStrCopy Ex(pszPath, cchPath, RTPATH_APP_PRIVATE, RTSTR_MAX);73 return RTStrCopy(pszPath, cchPath, RTPATH_APP_PRIVATE); 74 74 #else 75 75 return RTPathExecDir(pszPath, cchPath); … … 93 93 { 94 94 #if !defined(RT_OS_WINDOWS) && defined(RTPATH_APP_PRIVATE_ARCH) 95 return RTStrCopy Ex(pszPath, cchPath, RTPATH_APP_PRIVATE_ARCH, RTSTR_MAX);95 return RTStrCopy(pszPath, cchPath, RTPATH_APP_PRIVATE_ARCH); 96 96 #else 97 97 return RTPathExecDir(pszPath, cchPath); … … 116 116 { 117 117 #if !defined(RT_OS_WINDOWS) && defined(RTPATH_SHARED_LIBS) 118 return RTStrCopy Ex(pszPath, cchPath, RTPATH_SHARED_LIBS, RTSTR_MAX);118 return RTStrCopy(pszPath, cchPath, RTPATH_SHARED_LIBS); 119 119 #else 120 120 return RTPathExecDir(pszPath, cchPath); … … 137 137 { 138 138 #if !defined(RT_OS_WINDOWS) && defined(RTPATH_APP_DOCS) 139 return RTStrCopy Ex(pszPath, cchPath, RTPATH_APP_DOCS, RTSTR_MAX);139 return RTStrCopy(pszPath, cchPath, RTPATH_APP_DOCS); 140 140 #else 141 141 return RTPathExecDir(pszPath, cchPath); -
trunk/src/VBox/Runtime/r3/posix/pathhost-posix.cpp
r28915 r28916 250 250 { 251 251 if (g_fPassthruUtf8 || !*pszNativePath) 252 rc = RTStrCopy Ex(pszPath, cbPath, pszNativePath, RTSTR_MAX);252 rc = RTStrCopy(pszPath, cbPath, pszNativePath); 253 253 else if (cbPath) 254 254 rc = rtStrConvert(pszNativePath, strlen(pszNativePath), g_szFsCodeset,
Note:
See TracChangeset
for help on using the changeset viewer.