mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
Core: DeleteFolderDeep now deletes symlinks (thanks mdelfede)
git-svn-id: svn://ultimatepp.org/upp/trunk@10893 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
1971cc9eff
commit
565e353eab
1 changed files with 1 additions and 1 deletions
|
|
@ -883,7 +883,7 @@ bool DeleteFolderDeep(const char *dir)
|
|||
while(ff) {
|
||||
String name = ff.GetName();
|
||||
String p = AppendFileName(dir, name);
|
||||
if(ff.IsFile())
|
||||
if(ff.IsFile() || ff.IsSymLink())
|
||||
FileDelete(p);
|
||||
else
|
||||
if(ff.IsFolder())
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue