From: Paul Eggert Date: Thu, 8 Jul 1999 03:45:21 +0000 (+0000) Subject: (read_and): Use excluded_filename instead of check_exclude. X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=7962e1901bbed28bdf32891cb253b4e217b1c151;p=chaz%2Ftar (read_and): Use excluded_filename instead of check_exclude. Check base name of incoming file name, not entire file name, when deciding whether to exclude it. --- diff --git a/src/list.c b/src/list.c index a6109ff..18f3225 100644 --- a/src/list.c +++ b/src/list.c @@ -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;