Fix Ardour's rm -r
implementation, delete symlinks
This commit is contained in:
parent
b7c385b8f2
commit
c69cfaa124
@ -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…
Reference in New Issue
Block a user