mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-08 15:54:57 +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();
|
for (vector<string>::const_iterator i = tmp_paths.begin();
|
||||||
i != tmp_paths.end(); ++i) {
|
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;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue