Changeset 98774 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Feb 28, 2023 10:30:06 AM (23 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxService/VBoxServiceControlSession.cpp
r98709 r98774 1279 1279 if (!(fCreate & ~GSTCTL_CREATEDIRECTORY_F_VALID_MASK)) 1280 1280 { 1281 VGSvcVerbose(4, "Creating directory (szPath='%s', fMode=%#x, fCreate=%#x), rc=%Rrc\n", szPath, fMode, fCreate, rc); 1282 rc = RTDirCreate(szPath, fMode, fCreate); 1281 /* Translate flags. */ 1282 int fCreateRuntime = 0; /* RTDIRCREATE_FLAGS_XXX */ 1283 if (fCreate & GSTCTL_CREATEDIRECTORY_F_NO_SYMLINKS) 1284 fCreateRuntime |= RTDIRCREATE_FLAGS_NO_SYMLINKS; 1285 if (fCreate & GSTCTL_CREATEDIRECTORY_F_IGNORE_UMASK) 1286 fCreateRuntime |= RTDIRCREATE_FLAGS_IGNORE_UMASK; 1287 1288 if (fCreate & GSTCTL_CREATEDIRECTORY_F_PARENTS) 1289 rc = RTDirCreateFullPath(szPath, fMode); 1290 else 1291 rc = RTDirCreate(szPath, fMode, fCreateRuntime); 1292 1293 VGSvcVerbose(4, "Creating directory (szPath='%s', fMode=%#x, fCreate=%#x) -> rc=%Rrc\n", szPath, fMode, fCreate, rc); 1283 1294 } 1284 1295 else
Note:
See TracChangeset
for help on using the changeset viewer.