Commit 60234999 authored by Cosimo Cecchi's avatar Cosimo Cecchi

search-engine-simple: don't follow symlinks when descending

It's inconsistent with "find" and it can yield to unexpectedly large
result sets.
Do not follow symlinks when recursing the search down the hierarchy.
parent 9c5ee628
......@@ -217,7 +217,8 @@ visit_directory (GFile *dir, SearchThreadData *data)
0, data->cancellable, NULL);
data->cancellable, NULL);
if (enumerator == NULL) {
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