1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-11-27 08:00:11 +00:00

Apply fix for vendor pull request #17:

Support appending to empty archives

References:
  https://github.com/libarchive/libarchive/pull/17

Submitted by:	myself
Obtained from:	libarchive master branch on github
This commit is contained in:
Martin Matuska 2012-08-23 19:40:28 +00:00
parent e9322de834
commit 7ceb94332b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=239622

View File

@ -235,6 +235,7 @@ tar_mode_r(struct bsdtar *bsdtar)
a = archive_read_new();
archive_read_support_filter_all(a);
archive_read_support_format_empty(a);
archive_read_support_format_tar(a);
archive_read_support_format_gnutar(a);
r = archive_read_open_fd(a, bsdtar->fd, 10240);