From: Sergey Poznyakoff Date: Thu, 14 Apr 2005 13:14:23 +0000 (+0000) Subject: Handle Solaris 'X' type flag X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=ef0e611663236b14394e0e26f6aa7427ac14baea;p=chaz%2Ftar Handle Solaris 'X' type flag --- diff --git a/src/list.c b/src/list.c index 16a6970..bdb3ca3 100644 --- a/src/list.c +++ b/src/list.c @@ -369,7 +369,8 @@ read_header (bool raw_extended_headers) if (header->header.typeflag == GNUTYPE_LONGNAME || header->header.typeflag == GNUTYPE_LONGLINK || header->header.typeflag == XHDTYPE - || header->header.typeflag == XGLTYPE) + || header->header.typeflag == XGLTYPE + || header->header.typeflag == SOLARIS_XHDTYPE) { if (raw_extended_headers) return HEADER_SUCCESS_EXTENDED; @@ -427,7 +428,8 @@ read_header (bool raw_extended_headers) *bp = '\0'; } - else if (header->header.typeflag == XHDTYPE) + else if (header->header.typeflag == XHDTYPE + || header->header.typeflag == SOLARIS_XHDTYPE) xheader_read (header, OFF_FROM_HEADER (header->header.size)); else if (header->header.typeflag == XGLTYPE) {