VirtualBox

Changeset 85283 in vbox


Ignore:
Timestamp:
Jul 12, 2020 2:54:15 PM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
139260
Message:

Main/ApplianceImpl.cpp: Signed/unsigned conversion issues in i_searchUniqueImageFilePath. Renamed it to i_ensureUniqueImageFilePath as it's not really searching anything. bugref:9790

Location:
trunk/src/VBox/Main
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/ApplianceImpl.h

    r84340 r85283  
    132132    bool i_isApplianceIdle();
    133133    HRESULT i_searchUniqueVMName(Utf8Str& aName) const;
    134     HRESULT i_searchUniqueImageFilePath(const Utf8Str &aMachineFolder,
     134    HRESULT i_ensureUniqueImageFilePath(const Utf8Str &aMachineFolder,
    135135                                        DeviceType_T aDeviceType,
    136136                                        Utf8Str &aName) const;
  • trunk/src/VBox/Main/src-server/ApplianceImplImport.cpp

    r85219 r85283  
    750750                        strFilename.stripSuffix();
    751751
    752                     i_searchUniqueImageFilePath(strMachineFolder, devType, strFilename); /** @todo check the return code! */
     752                    i_ensureUniqueImageFilePath(strMachineFolder, devType, strFilename); /** @todo check the return code! */
    753753
    754754                    /* find the description for the storage controller
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