Changeset 93075 in vbox for trunk/src/VBox/HostServices/SharedFolders
- Timestamp:
- Dec 24, 2021 4:11:55 PM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 149086
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedFolders/vbsf.cpp
r82968 r93075 1754 1754 #endif 1755 1755 vbfsCopyFsObjInfoFromIprt(&pSFDEntry->Info, &pDirEntry->Info); 1756 pSFDEntry->cucShortName = 0; 1757 1756 1757 /* The shortname (only used by OS/2 atm): */ 1758 Assert(pDirEntry->cwcShortName < RT_ELEMENTS(pSFDEntry->uszShortName)); 1759 Assert(pDirEntry->wszShortName[pDirEntry->cwcShortName] == '\0'); 1760 pSFDEntry->cucShortName = pDirEntry->cwcShortName; 1761 if (pDirEntry->cwcShortName) 1762 memcpy(pSFDEntry->uszShortName, pDirEntry->wszShortName, sizeof(pSFDEntry->uszShortName)); 1763 1764 /* The name: */ 1758 1765 if (fUtf8) 1759 1766 { … … 1810 1817 } 1811 1818 1819 /* Advance */ 1812 1820 pSFDEntry = (PSHFLDIRINFO)((uintptr_t)pSFDEntry + cbNeeded); 1813 1821 *pcbBuffer += cbNeeded;
Note:
See TracChangeset
for help on using the changeset viewer.