VirtualBox

Changeset 92558 in vbox for trunk/src/VBox/Main/src-client


Ignore:
Timestamp:
Nov 23, 2021 9:00:45 AM (3 years ago)
Author:
vboxsync
Message:

Guest Control/Main + FE/Qt: Fixes for host -> guest and guest -> host copy operations using GuestSession::copyFromGuest() and GuestSession::copyToGuest() -- follow-up fix, also handle symlinks here. bugref:10139

File:
1 edited

Legend:

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

    r92544 r92558  
    16131613
    16141614                case RTFS_TYPE_FILE:
    1615                     LogFlowFunc(("File '%s': %s -> %s\n", pEntry->strPath.c_str(), strSrcAbs.c_str(), strDstAbs.c_str()));
     1615                    RT_FALL_THROUGH();
     1616                case RTFS_TYPE_SYMLINK:
     1617                    LogFlowFunc(("%s '%s': %s -> %s\n", pEntry->strPath.c_str(),
     1618                                 (pEntry->fMode & RTFS_TYPE_MASK) == RTFS_TYPE_SYMLINK ? "Symlink" : "File",
     1619                                  strSrcAbs.c_str(), strDstAbs.c_str()));
    16161620                    if (!pList->mSourceSpec.fDryRun)
    16171621                        rc = fileCopyFromGuest(strSrcAbs, strDstAbs, FileCopyFlag_None);
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