Initialize for tar

This commit is contained in:
zyppe 2024-02-05 15:30:42 +08:00
commit 09b05a0b95
23 changed files with 2249 additions and 0 deletions

15
tar-wildcards.patch Normal file
View file

@ -0,0 +1,15 @@
Index: tar-1.25/src/names.c
===================================================================
--- tar-1.25.orig/src/names.c
+++ tar-1.25/src/names.c
@@ -970,10 +970,6 @@ collect_and_sort_names (void)
if (name->found_count || name->directory)
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)