Commit d0830322 authored by Max Kellermann's avatar Max Kellermann

update: delete ignored symlinks from database

When you disable the "follow_outside_symlinks" or the "follow_inside_symlinks" setting, the next update should remove the now-ignored files from the database.
parent 1a6ed811
ver 0.15.6 (2009/??/??)
* output_thread: check again if output is open on PAUSE
* update: delete ignored symlinks from database
ver 0.15.5 (2009/10/18)
......
......@@ -672,7 +672,11 @@ updateDirectory(struct directory *directory, const struct stat *st)
continue;
utf8 = fs_charset_to_utf8(ent->d_name);
if (utf8 == NULL || skip_symlink(directory, utf8)) {
if (utf8 == NULL)
continue;
if (skip_symlink(directory, utf8)) {
delete_name_in(directory, utf8);
g_free(utf8);
continue;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment