13
0

Fix Ardour's rm -r implementation, delete symlinks

This commit is contained in:
Robin Gareus 2022-11-19 20:20:51 +01:00
parent b7c385b8f2
commit c69cfaa124
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -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;
}