diff options
author | Tim Kientzle <kientzle@gmail.com> | 2010-02-08 02:18:22 -0500 |
---|---|---|
committer | Tim Kientzle <kientzle@gmail.com> | 2010-02-08 02:18:22 -0500 |
commit | 9890b31ffd24646469461978c2ea2cbce07f9d51 (patch) | |
tree | a42d5e6150fcb2f696cefd181b20e714418490ce /contrib | |
parent | ed4245cb9927b24413b1b96016e6e7635b31ac13 (diff) | |
download | libarchive-9890b31ffd24646469461978c2ea2cbce07f9d51.tar.gz |
Rename archive_read_finish to archive_read_free and
archive_write_finish to archive_write_free. Update all clients,
tests, and documentation to use the new names exclusively. (Though
I've not yet run a global search-and-replace against the Wiki. I'll
do that shortly.)
I've preserved the old names as aliases, scheduled to be removed with
libarchive 4.x, so there is no immediate impact to existing code from
this change.
SVN-Revision: 1891
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/shar/shar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/shar/shar.c b/contrib/shar/shar.c index 12c84255..6d5c206e 100644 --- a/contrib/shar/shar.c +++ b/contrib/shar/shar.c @@ -269,7 +269,7 @@ shar_write(char **fn, size_t nfn) } } - if (archive_write_finish(a) != ARCHIVE_OK) + if (archive_write_free(a) != ARCHIVE_OK) errx(EXIT_FAILURE, "%s", archive_error_string(a)); if (error != 0) |