From 6939c3de7fb0357feba6d691f87984d3b25fa286 Mon Sep 17 00:00:00 2001 From: Martin Matuska Date: Tue, 31 Jul 2012 10:41:48 +0200 Subject: [PATCH] Support appending to empty archives. --- tar/write.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tar/write.c b/tar/write.c index 273fdda3b..98ae2d95c 100644 --- a/tar/write.c +++ b/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); -- 2.47.2