Changeset 42708 in vbox for trunk/src/VBox/Runtime
- Timestamp:
- Aug 9, 2012 10:15:38 AM (12 years ago)
- Location:
- trunk/src/VBox/Runtime
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/generic/createtemp-generic.cpp
r42692 r42708 106 106 107 107 108 RTDECL(int) RTDirCreateTemp(char *pszTemplate )108 RTDECL(int) RTDirCreateTemp(char *pszTemplate, RTFMODE fMode) 109 109 { 110 110 char *pszX; … … 123 123 { 124 124 rtCreateTempFillTemplate(pszX, cXes); 125 rc = RTDirCreate(pszTemplate, 0700, 0);125 rc = RTDirCreate(pszTemplate, fMode, 0); 126 126 if (RT_SUCCESS(rc)) 127 127 return rc; -
trunk/src/VBox/Runtime/testcase/tstRTTemp.cpp
r28800 r42708 70 70 break; 71 71 72 rc = RTDirCreateTemp(papszNames[i] );72 rc = RTDirCreateTemp(papszNames[i], 0700); 73 73 if (rc != VINF_SUCCESS) 74 74 {
Note:
See TracChangeset
for help on using the changeset viewer.