Explorar o código

Restore accidentally deleted lines

Sergey Poznyakoff %!s(int64=18) %!d(string=hai) anos
pai
achega
983d328ff2
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      src/names.c

+ 4 - 0
src/names.c

@@ -812,6 +812,10 @@ collect_and_sort_names (void)
       next_name = name->next;
       if (name->found_count || name->dir_contents)
 	continue;
+      if (name->matching_flags & EXCLUDE_WILDCARDS)
+	/* NOTE: EXCLUDE_ANCHORED is not relevant here */
+	/* FIXME: just skip regexps for now */
+	continue;
       chdir_do (name->change_dir);
       if (name->name[0] == 0)
 	continue;