bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] listed-incremental + wildcards


From: Sergey Poznyakoff
Subject: Re: [Bug-tar] listed-incremental + wildcards
Date: Wed, 07 Feb 2007 01:08:19 +0200

Hi Peter,

> why is this happening?

--wildcards is the default for exclude patterns, that's why your
second try works as expected.

As for the first one, it is caused by a bug, which can be fixed by the
following patch:

Index: src/names.c
===================================================================
RCS file: /cvsroot/tar/tar/src/names.c,v
retrieving revision 1.60
diff -p -u -r1.60 names.c
--- names.c     20 Jun 2006 15:14:19 -0000      1.60
+++ 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;

Regards,
Sergey
        




reply via email to

[Prev in Thread] Current Thread [Next in Thread]