Changeset 69631 in vbox
- Timestamp:
- Nov 9, 2017 3:56:04 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 118991
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/fs/fatvfs.cpp
r69623 r69631 2738 2738 */ 2739 2739 else if ( fIs8Dot3Name 2740 && !(paEntries[iEntry].Entry.fAttrib & FAT_ATTR_VOLUME) 2740 2741 && memcmp(paEntries[iEntry].Entry.achName, szName8Dot3, sizeof(paEntries[iEntry].Entry.achName)) == 0) 2741 2742 { … … 2748 2749 else if ( cwcName != 0 2749 2750 && idNextSlot == 0 2751 && !(paEntries[iEntry].Entry.fAttrib & FAT_ATTR_VOLUME) 2750 2752 && rtFsFatDir_CalcChecksum(&paEntries[iEntry].Entry) == bChecksum 2751 2753 && RTUtf16ICmpUtf8(wszName, pszEntry) == 0) … … 4150 4152 } 4151 4153 /* 4152 * Got a regular directory entry. Try return it to the caller .4154 * Got a regular directory entry. Try return it to the caller if not volume label. 4153 4155 */ 4154 else 4156 else if (!(paEntries[iEntry].Entry.fAttrib & FAT_ATTR_VOLUME)) 4155 4157 { 4156 4158 /* Do the length calc and check for overflows. */ … … 4213 4215 return rc; 4214 4216 } 4217 else 4218 cwcName = 0; 4215 4219 } 4216 4220
Note:
See TracChangeset
for help on using the changeset viewer.