mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
Fix Ardour's rm -r implementation, delete symlinks
This commit is contained in:
parent
b7c385b8f2
commit
c69cfaa124
1 changed files with 1 additions and 1 deletions
|
|
@ -521,7 +521,7 @@ remove_directory_internal (const string& dir, size_t* size, vector<string>* path
|
|||
for (vector<string>::const_iterator i = tmp_paths.begin();
|
||||
i != tmp_paths.end(); ++i) {
|
||||
|
||||
if (g_stat (i->c_str(), &statbuf)) {
|
||||
if (g_stat (i->c_str(), &statbuf) && g_lstat (i->c_str(), &statbuf)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue