VirtualBox

Changeset 83303 in vbox


Ignore:
Timestamp:
Mar 17, 2020 7:54:16 AM (5 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
136474
Message:

Guest Control/VBoxManage: Resolve absolute path of --source argument in gctlHandleUpdateAdditions().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VBoxManage/VBoxManageGuestCtrl.cpp

    r83259 r83303  
    4646#include <iprt/thread.h>
    4747#include <iprt/vfs.h>
     48
     49#include <iprt/cpp/path.h>
    4850
    4951#include <map>
     
    26832685
    26842686            case 's':
    2685                 strSource = ValueUnion.psz;
     2687                vrc = RTPathAbsCxx(strSource, ValueUnion.psz);
     2688                if (RT_FAILURE(vrc))
     2689                    return RTMsgErrorExitFailure("RTPathAbsCxx failed on '%s': %Rrc", ValueUnion.psz, vrc);
    26862690                break;
    26872691
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