From: Sergey Poznyakoff Date: Sun, 22 Feb 2004 20:54:04 +0000 (+0000) Subject: Decode encountered global headers. X-Git-Url: https://git.dogcows.com/gitweb?a=commitdiff_plain;h=fb766eefb40e84a1e9f69440ceba1184be936ded;p=chaz%2Ftar Decode encountered global headers. --- diff --git a/src/list.c b/src/list.c index fdc8fa9..05f2332 100644 --- a/src/list.c +++ b/src/list.c @@ -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! */