summaryrefslogtreecommitdiff
path: root/src/VBox/Runtime/generic/createtemp-generic.cpp
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@baserock.org>2014-03-26 19:21:20 +0000
committer <>2014-05-08 15:03:54 +0000
commitfb123f93f9f5ce42c8e5785d2f8e0edaf951740e (patch)
treec2103d76aec5f1f10892cd1d3a38e24f665ae5db /src/VBox/Runtime/generic/createtemp-generic.cpp
parent58ed4748338f9466599adfc8a9171280ed99e23f (diff)
downloadVirtualBox-master.tar.gz
Imported from /home/lorry/working-area/delta_VirtualBox/VirtualBox-4.3.10.tar.bz2.HEADVirtualBox-4.3.10master
Diffstat (limited to 'src/VBox/Runtime/generic/createtemp-generic.cpp')
-rw-r--r--src/VBox/Runtime/generic/createtemp-generic.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/VBox/Runtime/generic/createtemp-generic.cpp b/src/VBox/Runtime/generic/createtemp-generic.cpp
index 984dc1bf..addbb5db 100644
--- a/src/VBox/Runtime/generic/createtemp-generic.cpp
+++ b/src/VBox/Runtime/generic/createtemp-generic.cpp
@@ -149,7 +149,7 @@ RTDECL(int) RTDirCreateTempSecure(char *pszTemplate)
/* bool fSafe; */
/* Temporarily convert pszTemplate to a path. */
- RTPathParse(pszTemplate, &cchDir, NULL, NULL);
+ RTPathParseSimple(pszTemplate, &cchDir, NULL, NULL);
chOld = pszTemplate[cchDir];
pszTemplate[cchDir] = '\0';
/** @todo Implement this. */
@@ -218,7 +218,7 @@ RTDECL(int) RTFileCreateTempSecure(char *pszTemplate)
/* bool fSafe; */
/* Temporarily convert pszTemplate to a path. */
- RTPathParse(pszTemplate, &cchDir, NULL, NULL);
+ RTPathParseSimple(pszTemplate, &cchDir, NULL, NULL);
chOld = pszTemplate[cchDir];
pszTemplate[cchDir] = '\0';
/** @todo Implement this. */