VirtualBox

Changeset 34436 in vbox for trunk/src/VBox/Runtime


Ignore:
Timestamp:
Nov 28, 2010 9:45:25 PM (14 years ago)
Author:
vboxsync
Message:

RTVfsUtilPumpIoStreams: Flush the destination stream on success to make sure we didn't miss any errors delayed by buffering. (Reliability over performance.)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/vfs/vfsbase.cpp

    r34435 r34436  
    15771577
    15781578    RTMemTmpFree(pvBuf);
     1579
     1580    /*
     1581     * Flush the destination stream on success to make sure we've caught
     1582     * errors caused by buffering delays.
     1583     */
     1584    if (RT_SUCCESS(rc))
     1585        rc = RTVfsIoStrmFlush(hVfsIosDst);
     1586
    15791587    return rc;
    15801588}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette