]> Dogcows Code - chaz/tar/commitdiff
Decode encountered global headers.
authorSergey Poznyakoff <gray@gnu.org.ua>
Sun, 22 Feb 2004 20:54:04 +0000 (20:54 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Sun, 22 Feb 2004 20:54:04 +0000 (20:54 +0000)
src/list.c

index fdc8fa9975b14cb7b81e4d0e72fa9323f4076d18..05f233288be2ab23b5d6a3c556bbd9dd9ea99569 100644 (file)
@@ -395,9 +395,13 @@ read_header (bool raw_extended_headers)
 
              *bp = '\0';
            }
-         else if (header->header.typeflag == XHDTYPE
-                  || header->header.typeflag == XGLTYPE)
+         else if (header->header.typeflag == XHDTYPE)
            xheader_read (header, OFF_FROM_HEADER (header->header.size));
+         else if (header->header.typeflag == XGLTYPE)
+           {
+             xheader_read (header, OFF_FROM_HEADER (header->header.size));
+             xheader_decode_global ();
+           }
       
          /* Loop!  */
 
This page took 0.027832 seconds and 4 git commands to generate.