tar: ignore more crazy GNU PAX header crap

don't fail, but maybe we should give a warning for this?
This commit is contained in:
Hiltjo Posthuma 2015-05-08 22:28:24 +02:00 committed by sin
parent deb8a16527
commit d41095299a

2
tar.c
View File

@ -458,7 +458,7 @@ xt(int argc, char *argv[], int mode)
} }
/* ignore global pax header craziness */ /* ignore global pax header craziness */
if (h->type == 'g') { if (h->type == 'g' || h->type == 'x') {
skipblk(size); skipblk(size);
continue; continue;
} }