VirtualBox

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


Ignore:
Timestamp:
Jul 18, 2012 4:29:23 PM (13 years ago)
Author:
vboxsync
Message:

Main/Machine: fix error code check, Windows reports different code than Linux

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/MachineImpl.cpp

    r42178 r42213  
    89958995                    /* perform real rename only if the machine is not new */
    89968996                    vrc = RTPathRename(configDir.c_str(), newConfigDir.c_str(), 0);
    8997                     if (vrc == VERR_FILE_NOT_FOUND)
     8997                    if (   vrc == VERR_FILE_NOT_FOUND
     8998                        || vrc == VERR_PATH_NOT_FOUND)
    89988999                    {
    89999000                        /* create the parent directory, then retry renaming */
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