]> Dogcows Code - chaz/tar/commitdiff
(read_and): Use excluded_filename instead of check_exclude.
authorPaul Eggert <eggert@cs.ucla.edu>
Thu, 8 Jul 1999 03:45:21 +0000 (03:45 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Thu, 8 Jul 1999 03:45:21 +0000 (03:45 +0000)
Check base name of incoming file name, not entire file name, when
deciding whether to exclude it.

src/list.c

index a6109ff5f9b812ce759aabef97e497b89f26e5ba..18f3225cdc0fc9b8350b5d8e34fb1c2f9dc9794f 100644 (file)
@@ -70,7 +70,7 @@ read_and (void (*do_something) ())
 
          if (!name_match (current_file_name)
              || current_stat.st_mtime < newer_mtime_option
-             || (exclude_option && check_exclude (current_file_name)))
+             || excluded_filename (excluded, base_name (current_file_name)))
            {
              int isextended = 0;
 
This page took 0.026738 seconds and 4 git commands to generate.