(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:
Sergey Poznyakoff
2003-09-03 00:03:09 +00:00
parent ce059f3cc8
commit 01decb5737

View File

@@ -175,12 +175,9 @@ list_archive (void)
{
/* Print the header block. */
decode_header (current_header, &current_stat_info, &current_format, 0);
if (verbose_option)
{
if (verbose_option > 1)
decode_header (current_header, &current_stat_info, &current_format, 0);
print_header (-1);
}
print_header (-1);
if (incremental_option && current_header->header.typeflag == GNUTYPE_DUMPDIR)
{