From 9890b31ffd24646469461978c2ea2cbce07f9d51 Mon Sep 17 00:00:00 2001 From: Tim Kientzle Date: Mon, 8 Feb 2010 02:18:22 -0500 Subject: 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 --- contrib/shar/shar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'contrib') 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) -- cgit v1.2.1