Changeset 81438 in vbox for trunk/src/VBox/GuestHost/SharedClipboard/ClipboardDataObjectImpl-win.cpp
- Timestamp:
- Oct 22, 2019 8:04:12 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/GuestHost/SharedClipboard/ClipboardDataObjectImpl-win.cpp
r81269 r81438 278 278 if (RTFS_IS_DIRECTORY(pFsObjInfo->Attr.fMode)) 279 279 { 280 FSOBJENTRY objEntry = { strPath.c_str(), *pFsObjInfo }; 281 282 m_lstEntries.push_back(objEntry); /** @todo Can this throw? */ 280 /* Note: Directories are *not* required to be part of m_lstEntries, as we only 281 * count files to transfer there. */ 283 282 284 283 rc = readDir(pTransfer, strPath.c_str()); … … 360 359 if (RTFS_IS_DIRECTORY(pFsObjInfo->Attr.fMode)) 361 360 { 362 FSOBJENTRY objEntry = { pRootEntry->pszName, *pFsObjInfo }; 363 364 pThis->m_lstEntries.push_back(objEntry); /** @todo Can this throw? */ 361 /* Note: Directories are *not* required to be part of m_lstEntries, as we only 362 * count files to transfer there. */ 365 363 366 364 rc = pThis->readDir(pTransfer, pRootEntry->pszName); … … 871 869 m_enmStatus = Completed; 872 870 } 873 else874 AssertFailed();875 871 } 876 872 else 877 873 m_enmStatus = Error; 878 874 879 if (m_EventTransferComplete != NIL_RTSEMEVENT) 880 { 881 int rc2 = RTSemEventSignal(m_EventTransferComplete); 882 AssertRC(rc2); 875 if (m_enmStatus != Initialized) 876 { 877 if (m_EventTransferComplete != NIL_RTSEMEVENT) 878 { 879 int rc2 = RTSemEventSignal(m_EventTransferComplete); 880 AssertRC(rc2); 881 } 883 882 } 884 883
Note:
See TracChangeset
for help on using the changeset viewer.