summaryrefslogtreecommitdiffstats
path: root/sys/kern
diff options
context:
space:
mode:
authorkientzle <kientzle@FreeBSD.org>2007-08-18 21:53:25 +0000
committerkientzle <kientzle@FreeBSD.org>2007-08-18 21:53:25 +0000
commitb151d17a1b0aaf0d64709c302aee875044239826 (patch)
treed3e7b37891858d72b4d4f3eedae2b5c55b4f970b /sys/kern
parent4a30c00d08af3b22a324f08fd2c30788f2a28111 (diff)
downloadFreeBSD-src-b151d17a1b0aaf0d64709c302aee875044239826.zip
FreeBSD-src-b151d17a1b0aaf0d64709c302aee875044239826.tar.gz
This commit updates libarchive to be compatible with
GNU tar 1.17's implementation of --posix --sparse, at the cost of losing compatibility with GNU tar 1.16. Fortunately, the 1.17 implementation actually makes sense, so the libarchive code is now a bit more straightforward than before. Background: GNU tar 1.16 defined a new way to store sparse files in --posix archives. Unfortunately, the implementation incorrectly inserted several blocks of null padding after each such entry. As a result, non-GNU tar implementations saw the archive as truncated after any sparse entry. This was fixed in GNU tar 1.17 at the cost of losing compatibility with GNU tar 1.16 for this new format (which is not the default, so hopefully rarely used). Libarchive recently gained support for reading the GNU tar 1.16 formats; this commit updates it to read the GNU tar 1.17 variant instead. Approved by: re (ksmith for libarchive portion) Approved by: re (blanket for libarchive_test portion) MFC after: 5 days
Diffstat (limited to 'sys/kern')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud