VirtualBox

Changeset 48720 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
Sep 26, 2013 3:56:16 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
89349
Message:

GuestCtrl/IGuestFile: Fixed initial offset reporting when using IGuestSession::openFileEx().

File:
1 edited

Legend:

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

    r47874 r48720  
    562562                              ("File ID %RU32 does not match context ID %RU32\n", mData.mID,
    563563                               VBOX_GUESTCTRL_CONTEXTID_GET_OBJECT(pCbCtx->uContextID)));
     564
     565                    /* Set the initial offset. On the guest the whole opening operation
     566                     * would fail if an initial seek isn't possible. */
     567                    mData.mOffCurrent = mData.mOpenInfo.mInitialOffset;
    564568                }
    565569
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