Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Aug 2012 19:40:28 +0000 (UTC)
From:      Martin Matuska <mm@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r239622 - head/contrib/libarchive/tar
Message-ID:  <201208231940.q7NJeSYi083223@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mm
Date: Thu Aug 23 19:40:28 2012
New Revision: 239622
URL: http://svn.freebsd.org/changeset/base/239622

Log:
  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

Modified:
  head/contrib/libarchive/tar/write.c

Modified: head/contrib/libarchive/tar/write.c
==============================================================================
--- head/contrib/libarchive/tar/write.c	Thu Aug 23 19:39:23 2012	(r239621)
+++ head/contrib/libarchive/tar/write.c	Thu Aug 23 19:40:28 2012	(r239622)
@@ -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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201208231940.q7NJeSYi083223>