]> Dogcows Code - chaz/tar/commitdiff
(all_names_found): Remove check for matching_flags.
authorSergey Poznyakoff <gray@gnu.org.ua>
Fri, 30 Mar 2007 19:18:35 +0000 (19:18 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Fri, 30 Mar 2007 19:18:35 +0000 (19:18 +0000)
src/names.c

index 936d7fd042b548fbad357db575eeac5acaf560ea..9cff7ed3d6c9b5b985b85df948441ac1f9a44b6c 100644 (file)
@@ -572,8 +572,7 @@ all_names_found (struct tar_stat_info *p)
   len = strlen (p->file_name);
   for (cursor = namelist; cursor; cursor = cursor->next)
     {
-      if (cursor->matching_flags /* FIXME: check this */
-         || (!WASFOUND (cursor) && cursor->name[0])
+      if ((cursor->name[0] && !WASFOUND (cursor))
          || (len >= cursor->length && ISSLASH (p->file_name[cursor->length])))
        return false;
     }
@@ -813,10 +812,6 @@ 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;
This page took 0.027787 seconds and 4 git commands to generate.