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);
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to