VirtualBox

Changeset 77360 in vbox for trunk/src/VBox/VMM/VMMR3


Ignore:
Timestamp:
Feb 19, 2019 1:24:40 PM (6 years ago)
Author:
vboxsync
Message:

VMM/ssmR3FileWrite: Remove incorrect assertion (RTFileWriteAt doesn't guarentee seeking). bugref:9172

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMR3/SSM.cpp

    r76553 r77360  
    19651965static DECLCALLBACK(int) ssmR3FileWrite(void *pvUser, uint64_t offStream, const void *pvBuf, size_t cbToWrite)
    19661966{
    1967     Assert(RTFileTell((RTFILE)(uintptr_t)pvUser) == offStream); NOREF(offStream);
     1967    NOREF(offStream);
    19681968    return RTFileWriteAt((RTFILE)(uintptr_t)pvUser, offStream, pvBuf, cbToWrite, NULL); /** @todo use RTFileWrite */
    19691969}
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