VirtualBox

Ignore:
Timestamp:
Aug 28, 2012 11:26:36 AM (13 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
80362
Message:

VBoxManageGuestCtrl.cpp: TODOs related to #6344.

File:
1 edited

Legend:

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

    r42969 r43028  
    979979    AssertPtrReturn(pszDest, VERR_INVALID_POINTER);
    980980    AssertPtrReturn(ppszTranslated, VERR_INVALID_POINTER);
     981#if 0 /** @todo r=bird: It does not make sense to apply host path parsing semantics onto guest paths. I hope this code isn't mixing host/guest paths in the same way anywhere else... @bugref{6344} */
    981982    AssertReturn(RTPathStartsWith(pszSource, pszSourceRoot), VERR_INVALID_PARAMETER);
     983#endif
    982984
    983985    /* Construct the relative dest destination path by "subtracting" the
     
    19391941    /* If the destination is a path, (try to) create it. */
    19401942    const char *pszDest = strDest.c_str();
     1943/** @todo r=bird: RTPathFilename and RTPathStripFilename won't work
     1944 * correctly on non-windows hosts when the guest is from the DOS world (Windows,
     1945 * OS/2, DOS).  The host doesn't know about DOS slashes, only UNIX slashes and
     1946 * will get the wrong idea if some dilligent user does:
     1947 *
     1948 *      copyto myfile.txt 'C:\guestfile.txt'
     1949 * or
     1950 *      copyto myfile.txt 'D:guestfile.txt'
     1951 *
     1952 * @bugref{6344}
     1953 */
    19411954    if (!RTPathFilename(pszDest))
    19421955    {
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