X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Flist.c;h=74df7618e1c23cad8bdc30625a0684ffce8d9a8c;hb=9c194c9942b651befe1fa65ba9023fba9e50169f;hp=dad725a82f35a6040e799aece139d765c99fc1b2;hpb=80a6ef7d94ce144db0249384e55846baa404f4dd;p=chaz%2Ftar diff --git a/src/list.c b/src/list.c index dad725a..74df761 100644 --- a/src/list.c +++ b/src/list.c @@ -90,7 +90,8 @@ read_and (void (*do_something) (void)) /* Valid header. We should decode next field (mode) first. Ensure incoming names are null terminated. */ - + decode_header (current_header, ¤t_stat_info, + ¤t_format, 1); if (! name_match (current_stat_info.file_name) || (NEWER_OPTION_INITIALIZED (newer_mtime_option) /* FIXME: We get mtime now, and again later; this causes @@ -116,8 +117,6 @@ read_and (void (*do_something) (void)) quotearg_colon (current_stat_info.file_name))); /* Fall through. */ default: - decode_header (current_header, - ¤t_stat_info, ¤t_format, 0); skip_member (); continue; } @@ -210,8 +209,6 @@ list_archive (void) off_t block_ordinal = current_block_ordinal (); /* Print the header block. */ - - decode_header (current_header, ¤t_stat_info, ¤t_format, 0); if (verbose_option) print_header (¤t_stat_info, current_header, block_ordinal);