Changeset 72096 in vbox
- Timestamp:
- May 3, 2018 3:29:15 PM (7 years ago)
- svn:sync-xref-src-repo-rev:
- 122488
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/src-client/GuestFileImpl.cpp
r72089 r72096 797 797 *pcbRead = cbRead; 798 798 } 799 else if (pEvent->HasGuestError()) /* Return guest rc if available. */ 800 { 801 vrc = pEvent->GetGuestError(); 802 } 799 803 } 800 804 … … 853 857 if (pcbRead) 854 858 *pcbRead = cbRead; 859 } 860 else if (pEvent->HasGuestError()) /* Return guest rc if available. */ 861 { 862 vrc = pEvent->GetGuestError(); 855 863 } 856 864 } … … 902 910 vrc = sendCommand(HOST_FILE_SEEK, i, paParms); 903 911 if (RT_SUCCESS(vrc)) 904 vrc = i_waitForOffsetChange(pEvent, uTimeoutMS, puOffset); 912 { 913 uint64_t uOffset; 914 vrc = i_waitForOffsetChange(pEvent, uTimeoutMS, &uOffset); 915 if (RT_SUCCESS(vrc)) 916 { 917 LogFlowThisFunc(("uOffset=%RU64\n", uOffset)); 918 919 if (puOffset) 920 *puOffset = uOffset; 921 } 922 else if (pEvent->HasGuestError()) /* Return guest rc if available. */ 923 { 924 vrc = pEvent->GetGuestError(); 925 } 926 } 905 927 906 928 unregisterWaitEvent(pEvent); … … 1225 1247 *pcbWritten = cbWritten; 1226 1248 } 1249 else if (pEvent->HasGuestError()) /* Return guest rc if available. */ 1250 { 1251 vrc = pEvent->GetGuestError(); 1252 } 1227 1253 } 1228 1254
Note:
See TracChangeset
for help on using the changeset viewer.