summaryrefslogtreecommitdiff
path: root/src/VBox/Runtime/generic/createtemp-generic.cpp
diff options
context:
space:
mode:
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. */