VirtualBox

Changeset 39630 in vbox


Ignore:
Timestamp:
Dec 15, 2011 3:52:31 PM (13 years ago)
Author:
vboxsync
Message:

shared folders: restore old code for deleting files/directories

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedFolders/vbsf.cpp

    r39629 r39630  
    21802180            if (flags & SHFL_REMOVE_SYMLINK)
    21812181                rc = RTSymlinkDelete(pszFullPath, RTSYMLINKDELETE_FLAGS_NO_SYMLINKS);
     2182            else if (flags & SHFL_REMOVE_FILE)
     2183                rc = RTFileDelete(pszFullPath);
    21822184            else
    2183                 rc = RTPathUnlink(pszFullPath, RTPATHUNLINK_FLAGS_NO_SYMLINKS);
     2185                rc = RTDirRemove(pszFullPath);
    21842186        }
    21852187
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