VirtualBox

Changeset 22778 in vbox


Ignore:
Timestamp:
Sep 4, 2009 1:15:13 PM (15 years ago)
Author:
vboxsync
Message:

Main: fix infinite recursion when renaming machines with snapshots

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/SnapshotImpl.cpp

    r22624 r22778  
    576576
    577577    Utf8Str path = m->pMachine->mSSData->mStateFilePath;
    578     LogFlowThisFunc(("Snap[%s].statePath={%s}\n", m->strName.raw(), path.raw()));
     578    LogFlowThisFunc(("Snap[%s].statePath={%s}\n", m->strName.c_str(), path.c_str()));
    579579
    580580    /* state file may be NULL (for offline snapshots) */
     
    593593         ++it)
    594594    {
    595         updateSavedStatePathsImpl(aOldPath, aNewPath);
     595        Snapshot *pChild = *it;
     596        pChild->updateSavedStatePathsImpl(aOldPath, aNewPath);
    596597    }
    597598}
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