From fb123f93f9f5ce42c8e5785d2f8e0edaf951740e Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Wed, 26 Mar 2014 19:21:20 +0000 Subject: Imported from /home/lorry/working-area/delta_VirtualBox/VirtualBox-4.3.10.tar.bz2. --- src/VBox/Runtime/generic/createtemp-generic.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/VBox/Runtime/generic/createtemp-generic.cpp') 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. */ -- cgit v1.2.1