VirtualBox

Changeset 72036 in vbox


Ignore:
Timestamp:
Apr 26, 2018 11:41:27 AM (7 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
122333
Message:

RTTar: Implemented extracting hardlinked files by copying. This is very useful for extracting VBoxAll archives on windows. [build fix]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Runtime/common/zip/tarcmd.cpp

    r72035 r72036  
    924924
    925925    if (!RTFileExists(szFullTarget))
    926         return RTMsgErrorExitFailure("%s: Hardlink target not found (or not a file): %s", pszDst, szFullTarget, rc);
     926        return RTMsgErrorExitFailure("%s: Hardlink target not found (or not a file): %s", pszDst, szFullTarget);
    927927
    928928    /*
     
    951951                    if (RT_FAILURE(rc))
    952952                    {
    953                         rcExit = RTMsgErrorExitFailure("%s: Error closing hardlinked file copy: %Rrc", pszDst, szFullTarget, rc);
     953                        rcExit = RTMsgErrorExitFailure("%s: Error closing hardlinked file copy: %Rrc", pszDst, rc);
    954954                        RTFileDelete(pszDst);
    955955                    }
     
    957957                else
    958958                {
    959                     rcExit = RTMsgErrorExitFailure("%s: Failed copying hardlinked file %s: %Rrc", pszDst, szFullTarget, rc);
     959                    rcExit = RTMsgErrorExitFailure("%s: Failed copying hardlinked file '%s': %Rrc", pszDst, szFullTarget, rc);
    960960                    rc = RTFileClose(hDstFile);
    961961                    RTFileDelete(pszDst);
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