Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Support appending to empty archives #17

Merged
merged 1 commit into from

2 participants

@mmatuska

Restore libarchive 2.8.x behaviour:
If calling bsdtar with the "-r" flag it should support appending files to empty or non-existing (newly created) archives.

@kientzle
Owner

Good find! Nice patch!

@kientzle kientzle merged commit 53de044 into from
@kientzle
Owner
@emaste emaste referenced this pull request from a commit in emaste/freebsd
@mmatuska mmatuska Apply fix for vendor pull request #17:
Support appending to empty archives

References:
  libarchive/libarchive#17

Submitted by:	myself
Obtained from:	libarchive master branch on github
c0dcd66
@DaElf DaElf referenced this pull request from a commit in DaElf/freebsd
mm Apply fix for vendor pull request #17:
Support appending to empty archives

References:
  libarchive/libarchive#17

Submitted by:	myself
Obtained from:	libarchive master branch on github


git-svn-id: svn://svn.freebsd.org/base/head@239622 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
c5769a9
@dspinellis dspinellis referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
@dspinellis dspinellis referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
@dspinellis dspinellis referenced this pull request from a commit
Commit has since been removed from the repository and is no longer available.
@dspinellis dspinellis referenced this pull request from a commit in dspinellis/unix-history-repo
Martin Matuska Apply fix for vendor pull request #17:
Support appending to empty archives

References:
  libarchive/libarchive#17

Submitted by:	myself
Obtained from:	libarchive master branch on github


git-svn-id: svn+ssh://svn.freebsd.org/base/head@239622 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
fb3f2b4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Jul 31, 2012
  1. @mmatuska
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  tar/write.c
View
1  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);
Something went wrong with that request. Please try again.