tar/tar-wildcards.patch

20 lines
657 B
Diff

Index: src/names.c
===================================================================
RCS file: /cvsroot/tar/tar/src/names.c,v
retrieving revision 1.60
diff -p -u -r1.60 names.c
--- a/src/names.c 20 Jun 2006 15:14:19 -0000 1.60
+++ b/src/names.c 6 Feb 2007 23:02:39 -0000
@@ -813,10 +813,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;