Changeset 79155 in vbox for trunk/src/VBox/Runtime/common/vfs
- Timestamp:
- Jun 14, 2019 4:33:05 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/vfs/vfsbase.cpp
r77047 r79155 1322 1322 AssertReturn(pThis->uMagic == RTVFSOBJ_MAGIC, VERR_INVALID_HANDLE); 1323 1323 1324 fMode = rtFsModeNormalize(fMode, NULL, 0 );1324 fMode = rtFsModeNormalize(fMode, NULL, 0, 0); 1325 1325 if (!rtFsModeIsValid(fMode)) 1326 1326 return VERR_INVALID_PARAMETER; … … 2749 2749 AssertPtrNullReturn(phVfsDir, VERR_INVALID_POINTER); 2750 2750 AssertReturn(!(fFlags & ~RTDIRCREATE_FLAGS_VALID_MASK), VERR_INVALID_FLAGS); 2751 fMode = rtFsModeNormalize(fMode, pszRelPath, 0 );2751 fMode = rtFsModeNormalize(fMode, pszRelPath, 0, RTFS_TYPE_DIRECTORY); 2752 2752 AssertReturn(rtFsModeIsValidPermissions(fMode), VERR_INVALID_FMODE); 2753 2753 if (!(fFlags & RTDIRCREATE_FLAGS_NOT_CONTENT_INDEXED_DONT_SET)) … … 3302 3302 AssertReturn(pThis->uMagic == RTVFSSYMLINK_MAGIC, VERR_INVALID_HANDLE); 3303 3303 3304 fMode = rtFsModeNormalize(fMode, NULL, 0 );3304 fMode = rtFsModeNormalize(fMode, NULL, 0, RTFS_TYPE_SYMLINK); 3305 3305 if (!rtFsModeIsValid(fMode)) 3306 3306 return VERR_INVALID_PARAMETER;
Note:
See TracChangeset
for help on using the changeset viewer.