Parse global pax header in the right place.

front
Ori Bernstein 2019-11-15 13:26:25 -08:00
parent a68bee44d3
commit b31e965ea3
1 changed files with 2 additions and 2 deletions

View File

@ -855,12 +855,12 @@ again:
return nil;
if (parsepax(ar, bp, hdr, LF_PAXHDR))
goto again;
if (parsepax(ar, bp, &globlhdr, LF_PAXGLOBL))
goto again;
if (getname(ar, bp, hdr))
goto again;
if (parsehdr(hdr, bp) == -1)
sysfatal("could not parse header: %r");
if (parsepax(ar, bp, &globlhdr, LF_PAXGLOBL))
goto again;
return bp;
}