VirtualBox

Changeset 77112 in vbox


Ignore:
Timestamp:
Feb 1, 2019 11:23:33 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
128569
Message:

Guest Control/Main: Clarify GuestFile::getOffset().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/GuestFileImpl.cpp

    r77097 r77112  
    295295    AutoReadLock alock(this COMMA_LOCKVAL_SRC_POS);
    296296
    297 /** @todo r=bird: Why do you have both a offset and a tell() function?
    298  * After a ReadAt or WriteAt with a non-current offset, the tell() result will
    299  * differ from this value, because mOffCurrent is only ever incremented with
    300  * data read or written.  */
     297    /* mData.mOffCurrent gets updated on i_readData[At]() / i_writeData[At]() file notification callbacks.
     298     * So no need to take another roundtrip into the guest asking for the current offset (using tell). */
    301299    *aOffset = mData.mOffCurrent;
    302300
Note: See TracChangeset for help on using the changeset viewer.

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