diff options
author | mm <mm@FreeBSD.org> | 2012-08-23 19:40:28 +0000 |
---|---|---|
committer | mm <mm@FreeBSD.org> | 2012-08-23 19:40:28 +0000 |
commit | c0dcd66b15fd2e6dbc4749004483f3cdef746b63 (patch) | |
tree | e489d6fb0b6ab165a6157118c0c238b7dd6c81d0 | |
parent | 44f6adcfe508d818ffa24b55aa971bdab966465c (diff) | |
download | FreeBSD-src-c0dcd66b15fd2e6dbc4749004483f3cdef746b63.zip FreeBSD-src-c0dcd66b15fd2e6dbc4749004483f3cdef746b63.tar.gz |
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
-rw-r--r-- | contrib/libarchive/tar/write.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/libarchive/tar/write.c b/contrib/libarchive/tar/write.c index f8987c7..e5307c8 100644 --- a/contrib/libarchive/tar/write.c +++ b/contrib/libarchive/tar/write.c @@ -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); |