Changeset 78301 in vbox for trunk/src/VBox/Additions
- Timestamp:
- Apr 25, 2019 11:57:05 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/SharedFolders/driver/vbsfhlp.c
r78285 r78301 62 62 AssertCompile((RTFS_DOS_NT_ENCRYPTED >> RTFS_DOS_SHIFT) == FILE_ATTRIBUTE_ENCRYPTED); 63 63 64 uint32_t fNtAttribs = (fIprtMode & (RTFS_DOS_MASK_NT & ~(RTFS_DOS_NT_OFFLINE | RTFS_DOS_NT_DEVICE))) >> RTFS_DOS_SHIFT; 64 uint32_t fNtAttribs = (fIprtMode & (RTFS_DOS_MASK_NT & ~(RTFS_DOS_NT_OFFLINE | RTFS_DOS_NT_DEVICE | RTFS_DOS_NT_REPARSE_POINT))) 65 >> RTFS_DOS_SHIFT; 65 66 return fNtAttribs ? fNtAttribs : FILE_ATTRIBUTE_NORMAL; 66 67 } … … 75 76 { 76 77 uint32_t fIprtMode = (fNtAttribs << RTFS_DOS_SHIFT) & RTFS_DOS_MASK_NT; 78 fIprtMode &= ~(RTFS_DOS_NT_OFFLINE | RTFS_DOS_NT_DEVICE | RTFS_DOS_NT_REPARSE_POINT); 77 79 return fIprtMode ? fIprtMode : RTFS_DOS_NT_NORMAL; 78 80 }
Note:
See TracChangeset
for help on using the changeset viewer.