VirtualBox

Changeset 33792 in vbox


Ignore:
Timestamp:
Nov 5, 2010 1:03:03 PM (14 years ago)
Author:
vboxsync
Message:

VBoxManage/Guest Copy: Support handling of symlinks as well.

File:
1 edited

Legend:

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

    r33791 r33792  
    682682                    break;
    683683
     684                case RTDIRENTRYTYPE_SYMLINK:
     685                    if (   (uFlags & CopyFileFlag_Recursive)
     686                        && (uFlags & CopyFileFlag_FollowLinks))
     687                    {
     688                        /* Fall through to next case is intentional. */
     689                    }
     690                    else
     691                        break;
     692
    684693                case RTDIRENTRYTYPE_FILE:
    685694                {
     
    722731                }
    723732                break;
    724 
    725                 case RTDIRENTRYTYPE_SYMLINK:
    726                     if (   (uFlags & CopyFileFlag_Recursive)
    727                         && (uFlags & CopyFileFlag_FollowLinks))
    728                     {
    729                         /* TODO */
    730                     }
    731                     break;
    732733
    733734                default:
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