Changeset 67150 in vbox for trunk/src/VBox/Runtime/common/zip
- Timestamp:
- May 30, 2017 7:25:31 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/zip/tarvfswriter.cpp
r67149 r67150 521 521 * Deal with simple non-seeking write first. 522 522 */ 523 size_t cbWritten = 0; 523 524 Assert(pPush->offCurrent <= pPush->cbExpected); 524 525 Assert(pPush->offCurrent <= pPush->cbCurrent); … … 530 531 pPush->offCurrent, cbToWrite, pPush->offCurrent + cbToWrite, pPush->cbExpected), 531 532 VERR_DISK_FULL); 532 size_t cbWritten = 0;533 533 rc = RTVfsIoStrmWrite(pParent->hVfsIos, pvToWrite, cbToWrite, fBlocking, &cbWritten); 534 534 if (RT_SUCCESS(rc)) … … 591 591 if (RT_SUCCESS(rc)) 592 592 { 593 size_t cbWritten = 0;594 593 rc = RTVfsIoStrmWrite(pParent->hVfsIos, pvToWrite, cbToWrite, fBlocking, &cbWritten); 595 594 if (RT_SUCCESS(rc)) … … 608 607 * Fatal errors get down here, non-fatal ones returns earlier. 609 608 */ 609 if (pcbWritten) 610 *pcbWritten = cbWritten; 610 611 if (RT_SUCCESS(rc)) 611 612 return VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.