]> Cypherpunks repositories - gostls13.git/commit
archive/tar: fix round-trip attributes
authorVincent Batts <vbatts@hashbangbash.com>
Wed, 4 Mar 2015 17:29:16 +0000 (12:29 -0500)
committerRuss Cox <rsc@golang.org>
Fri, 26 Jun 2015 15:51:06 +0000 (15:51 +0000)
commitf271f928d9f1beb892dc576d397f37a3fddd6c0b
tree30ca0f3413a0bc79bbeb0a5224083da2fdfed956
parenta1cc84fa886301c6e93d22486fc1f6b28ec91cc5
archive/tar: fix round-trip attributes

The issue was identified while
working with round trip FileInfo of the headers of hardlinks. Also,
additional test cases for hard link handling.
(review carried over from http://golang.org/cl/165860043)

Fixes #9027

Change-Id: I9e3a724c8de72eb1b0fbe0751a7b488894911b76
Reviewed-on: https://go-review.googlesource.com/6790
Reviewed-by: Russ Cox <rsc@golang.org>
src/archive/tar/common.go
src/archive/tar/stat_unix.go
src/archive/tar/tar_test.go
src/archive/tar/testdata/hardlink.tar [new file with mode: 0644]
src/archive/tar/writer_test.go