(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.
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user