1
0
Fork 0
forked from mirrors/tar-split

archive/tar: make output deterministic

Replaces PID in PaxHeaders with 0.  Sorts PAX header keys before writing
them to the archive.

Fixes #12358

Change-Id: If239f89c85f1c9d9895a253fb06a47ad44960124
Reviewed-on: https://go-review.googlesource.com/13975
Reviewed-by: Russ Cox <rsc@golang.org>
Reviewed-by: Joe Tsai <joetsai@digital-static.net>
This commit is contained in:
Matt Layher 2015-08-27 14:52:06 -04:00 committed by Vincent Batts
parent bffda594f7
commit 2424f4e367
5 changed files with 70 additions and 8 deletions

BIN
archive/tar/testdata/hdr-only.tar vendored Normal file

Binary file not shown.

Binary file not shown.