VirtualBox

Changeset 80833 in vbox


Ignore:
Timestamp:
Sep 16, 2019 7:59:03 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
133403
Message:

GuestSessionTask::fileCopyToGuest: More review comments. bugref:9320

File:
1 edited

Legend:

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

    r80585 r80833  
    801801    Utf8Str strDestFinal = strDest;
    802802
     803    /** @todo r=bird: Why do we need to do this here?  It's a waste of time (extra
     804     *        IPC) for 99% of the calls, it only does something useful if the
     805     *        destination is a directory, and you should be able to handle that just
     806     *        as efficiently in the i_fileOpen() failure path. */
    803807    GuestFsObjData dstObjData;
    804808    int rcGuest = VERR_IPE_UNINITIALIZED_STATUS;
     
    829833                /** @todo r=bird: You're totally ignoring the guest slash-style here! Callers
    830834                 *        should have this info. */
     835                /** @todo r=bird: This is wrong even on windows if strDest is 'C:' and the
     836                 *        current working directory (CWD) isn't the root of the drive. :-) */
    831837                if (   !strDest.endsWith("\\")
    832838                    && !strDest.endsWith("/"))
     
    849855                break;
    850856
     857            /** @todo r=brent,r=bird: you follow symlinks, so this cannot happen at present.
     858             *        That said, maybe it isn't intentional to always follow symlinks? */
    851859            case FsObjType_Symlink:
    852                 if (!(fFileCopyFlags & FileCopyFlag_FollowLinks))
     860                 if (!(fFileCopyFlags & FileCopyFlag_FollowLinks))
    853861                {
    854862                    setProgressErrorMsg(VBOX_E_IPRT_ERROR,
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