Parse global pax header in the right place.
This commit is contained in:
parent
a68bee44d3
commit
b31e965ea3
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue