]> Dogcows Code - chaz/tar/commitdiff
Handle Solaris 'X' type flag
authorSergey Poznyakoff <gray@gnu.org.ua>
Thu, 14 Apr 2005 13:14:23 +0000 (13:14 +0000)
committerSergey Poznyakoff <gray@gnu.org.ua>
Thu, 14 Apr 2005 13:14:23 +0000 (13:14 +0000)
src/list.c

index 16a6970a58f618c1c16aeb0c5ccd2d6b0757134c..bdb3ca378e400ecd0cafb0e3c2e1f0e9cffdf106 100644 (file)
@@ -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)
            {
This page took 0.028879 seconds and 4 git commands to generate.