VirtualBox

Ignore:
Timestamp:
Nov 30, 2018 9:36:07 AM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
127035
Message:

VBoxManage/guestcontrol: r=bird comments

File:
1 edited

Legend:

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

    r73506 r75832  
    219219            AssertPtrReturn(pszPath, VERR_INVALID_POINTER);
    220220
     221/** @todo r=bird: Do ONE RTPathQueryInfo call here, and only do it when the source is on the HOST.
     222 * You're currently doing this for guest files too...
     223 *
     224 * You realize that a filter is a filter when you define it to be, not when the
     225 * file doesn't exist.  It something the command defines, nothing else. So, it
     226 * makes not sense. */
    221227            if (   !RTFileExists(pszPath)
    222228                && !RTDirExists(pszPath))
     
    17771783
    17781784            case VINF_GETOPT_NOT_OPTION:
    1779                 /* Last argument and no destination specified with
    1780                  * --target-directory yet? Then use the current
    1781                  * (= last) argument as destination. */
     1785                /* Last argument and no destination specified with --target-directory yet?
     1786                   Then use the current (= last) argument as destination. */
    17821787                if (   GetState.argc == GetState.iNext
    17831788                    && pszDst == NULL)
     
    17871792                    try
    17881793                    {   /* Save the source directory. */
     1794/** @todo r=bird: Why the fudge do you do two 'ing stat() calls on the HOST when copy files from the GUEST?
     1795 * Guess it is just some stuff that happened while you were working on SOURCEFILEENTRY, but it doesn't make
     1796 * it more sensible.
     1797 */
    17891798                        vecSources.push_back(SOURCEFILEENTRY(ValueUnion.psz));
    17901799                    }
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