summaryrefslogtreecommitdiff
path: root/libarchive/test/test_read_format_gtar_gz.c
diff options
context:
space:
mode:
authorTim Kientzle <kientzle@gmail.com>2010-02-08 02:18:22 -0500
committerTim Kientzle <kientzle@gmail.com>2010-02-08 02:18:22 -0500
commit9890b31ffd24646469461978c2ea2cbce07f9d51 (patch)
treea42d5e6150fcb2f696cefd181b20e714418490ce /libarchive/test/test_read_format_gtar_gz.c
parented4245cb9927b24413b1b96016e6e7635b31ac13 (diff)
downloadlibarchive-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 'libarchive/test/test_read_format_gtar_gz.c')
-rw-r--r--libarchive/test/test_read_format_gtar_gz.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libarchive/test/test_read_format_gtar_gz.c b/libarchive/test/test_read_format_gtar_gz.c
index 3071b1d0..4140a8a8 100644
--- a/libarchive/test/test_read_format_gtar_gz.c
+++ b/libarchive/test/test_read_format_gtar_gz.c
@@ -43,7 +43,7 @@ DEFINE_TEST(test_read_format_gtar_gz)
r = archive_read_support_compression_gzip(a);
if (r == ARCHIVE_WARN) {
skipping("gzip reading not fully supported on this platform");
- assertEqualInt(ARCHIVE_OK, archive_read_finish(a));
+ assertEqualInt(ARCHIVE_OK, archive_read_free(a));
return;
}
assertEqualInt(ARCHIVE_OK, archive_read_support_format_all(a));
@@ -54,7 +54,7 @@ DEFINE_TEST(test_read_format_gtar_gz)
ARCHIVE_COMPRESSION_GZIP);
assertEqualInt(archive_format(a), ARCHIVE_FORMAT_TAR_GNUTAR);
assertEqualInt(ARCHIVE_OK, archive_read_close(a));
- assertEqualInt(ARCHIVE_OK, archive_read_finish(a));
+ assertEqualInt(ARCHIVE_OK, archive_read_free(a));
}