VirtualBox

Changeset 105658 in vbox for trunk/src/VBox/Main/src-server


Ignore:
Timestamp:
Aug 13, 2024 10:35:19 AM (7 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
164351
Message:

Main: Add possibility to save the NVRAM file as a directory tree instead of a tar archive for easier access to the individual components

File:
1 edited

Legend:

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

    r105605 r105658  
    95619561                        newNVRAMFile.stripSuffix();
    95629562                        newNVRAMFile += ".nvram";
    9563                         RTFileRename(NVRAMFile.c_str(), newNVRAMFile.c_str(), 0);
     9563                        RTPathRename(NVRAMFile.c_str(), newNVRAMFile.c_str(), 0);
    95649564                    }
    95659565                }
     
    96109610                RTFileRename(newConfigFile.c_str(), configFile.c_str(), 0);
    96119611                if (NVRAMFile.isNotEmpty() && newNVRAMFile.isNotEmpty())
    9612                     RTFileRename(newNVRAMFile.c_str(), NVRAMFile.c_str(), 0);
     9612                    RTPathRename(newNVRAMFile.c_str(), NVRAMFile.c_str(), 0);
    96139613            }
    96149614            if (dirRenamed)
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