]> Dogcows Code - chaz/tar/blobdiff - src/list.c
Fix bug in sparse file listing
[chaz/tar] / src / list.c
index d46be651cb3752b0f1fe2d0fc29d79a8a256feb3..22bec010e475516f8a19e89d10519627c756db69 100644 (file)
@@ -203,7 +203,8 @@ read_and (void (*do_something) (void))
                      mtime.tv_nsec = 0,
                      current_stat_info.mtime = mtime,
                      OLDER_TAR_STAT_TIME (current_stat_info, m)))
-             || excluded_name (current_stat_info.file_name))
+             || excluded_name (current_stat_info.file_name,
+                               current_stat_info.parent))
            {
              switch (current_header->header.typeflag)
                {
@@ -688,7 +689,6 @@ decode_header (union block *header, struct tar_stat_info *stat_info,
        }
     }
 
-  stat_info->archive_file_size = stat_info->stat.st_size;
   xheader_decode (stat_info);
 
   if (sparse_member_p (stat_info))
This page took 0.020139 seconds and 4 git commands to generate.