From: Sergey Poznyakoff Date: Wed, 3 Sep 2003 00:03:09 +0000 (+0000) Subject: (list_archive): Always decode the header. This X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=01decb5737f34944a21b2ecd6cba3e3e9ffc6b67;p=chaz%2Ftar (list_archive): Always decode the header. This is necessary so the extended header is processed and the correct filename is printed no matter what the state of verbose_option. --- diff --git a/src/list.c b/src/list.c index 850faeb..80ea0e1 100644 --- a/src/list.c +++ b/src/list.c @@ -175,12 +175,9 @@ list_archive (void) { /* Print the header block. */ + decode_header (current_header, ¤t_stat_info, ¤t_format, 0); if (verbose_option) - { - if (verbose_option > 1) - decode_header (current_header, ¤t_stat_info, ¤t_format, 0); - print_header (-1); - } + print_header (-1); if (incremental_option && current_header->header.typeflag == GNUTYPE_DUMPDIR) {