VirtualBox

Changeset 97396 in vbox


Ignore:
Timestamp:
Nov 4, 2022 11:20:05 AM (2 years ago)
Author:
vboxsync
Message:

Guest Control/Main: Rewrite of the path building and directory walking code for the copyFrom / copyTo guest session tasks, to (hopefully) have a cleaner structure. The new path building now also takes into account whether a destination has a trailing delimiter and then act accordingly (see rules in GuestPath::BuildDestinationPath()). Adjusted VBoxManage and FE/Qt to also reflect that; should now work as common tools like cp. Added new test cases and also re-enabled old ones which were disabled since quite a while (should pass now) [build fix]. ​bugref:10286

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-client/GuestCtrlPrivate.cpp

    r97395 r97396  
    18761876    strTranslated.jolt();
    18771877
    1878     LogRel2(("Guest Control: Translating '%s' (%s) -> '%s' (%s)\n",
     1878    LogRel2(("Guest Control: Translating '%s' (%s) -> '%s' (%s): %Rrc\n",
    18791879             strPath.c_str(), GuestBase::pathStyleToStr(enmSrcPathStyle),
    18801880             strTranslated.c_str(), GuestBase::pathStyleToStr(enmDstPathStyle), vrc));
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