]> Dogcows Code - chaz/tar/commitdiff
(list_archive): Always decode the header. This
authorSergey Poznyakoff <gray@gnu.org.ua>
Wed, 3 Sep 2003 00:03:09 +0000 (00:03 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Wed, 3 Sep 2003 00:03:09 +0000 (00:03 +0000)
is necessary so the extended header is processed and the correct
filename is printed no matter what the state of verbose_option.

src/list.c

index 850faeb1e2e584434616b7d04d6e5a9f7a25db95..80ea0e19bc7dfb1d296968a9d329da6eaff27223 100644 (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)
     {
This page took 0.03171 seconds and 4 git commands to generate.