فهرست منبع

Restore accidentally deleted lines

Sergey Poznyakoff 18 سال پیش
والد
کامیت
983d328ff2
1فایلهای تغییر یافته به همراه4 افزوده شده و 0 حذف شده
  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;