Changeset 48176 in vbox for trunk/src/VBox
- Timestamp:
- Aug 30, 2013 2:23:46 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Storage/VDIfVfs.cpp
r47716 r48176 90 90 int rc = vdIfIoFileReadSync(pThis->pVDIfsIo, pThis->pvStorage, off, pSgBuf[0].pvSegCur, pSgBuf->paSegs[0].cbSeg, pcbRead); 91 91 if (RT_SUCCESS(rc)) 92 pThis->offCurPos = off + (pcbRead ? *pcbRead : pSgBuf->paSegs[0].cbSeg); 92 { 93 size_t cbAdvance = (pcbRead ? *pcbRead : pSgBuf->paSegs[0].cbSeg); 94 pThis->offCurPos = off + cbAdvance; 95 if (pcbRead && !cbAdvance) 96 rc = VINF_EOF; 97 } 93 98 return rc; 94 99 }
Note:
See TracChangeset
for help on using the changeset viewer.