VirtualBox

Changeset 78039 in vbox for trunk/src


Ignore:
Timestamp:
Apr 8, 2019 12:16:59 PM (6 years ago)
Author:
vboxsync
Message:

Guest Control/Main: Also check for flag DirectoryRemoveRecFlag_None in directoryRemoveRecursive().

File:
1 edited

Legend:

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

    r78038 r78039  
    34943494                                               ComPtr<IProgress> &aProgress)
    34953495{
    3496     RT_NOREF(aFlags);
    3497 
    34983496    AutoCaller autoCaller(this);
    34993497    if (FAILED(autoCaller.rc())) return autoCaller.rc();
     
    35093507            switch (aFlags[i])
    35103508            {
     3509                case DirectoryRemoveRecFlag_None: /* Skip. */
     3510                    continue;
     3511
    35113512                case DirectoryRemoveRecFlag_ContentAndDir:
    35123513                    fFlags = DIRREMOVEREC_FLAG_RECURSIVE | DIRREMOVEREC_FLAG_CONTENT_AND_DIR;
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