Changeset 20066 in vbox for trunk/src/VBox/Runtime/r3/win
- Timestamp:
- May 27, 2009 11:24:23 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/r3/win/dir-win.cpp
r14062 r20066 35 35 #define LOG_GROUP RTLOGGROUP_DIR 36 36 #include <Windows.h> 37 #include <io.h> 37 38 38 39 #include <iprt/dir.h> … … 128 129 129 130 131 RTDECL(int) RTDirCreateTemp(char *pszTemplate) 132 { 133 if (!_mktemp(pszTemplate)) 134 { 135 int rc = RTDirCreate(pszTemplate, 0700); 136 return rc; 137 } 138 return RTErrConvertFromWin32(GetLastError()); 139 } 140 141 130 142 RTDECL(int) RTDirRemove(const char *pszPath) 131 143 {
Note:
See TracChangeset
for help on using the changeset viewer.