summaryrefslogtreecommitdiff
path: root/libarchive/test/test_compat_cpio.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_compat_cpio.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_compat_cpio.c')
-rw-r--r--libarchive/test/test_compat_cpio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libarchive/test/test_compat_cpio.c b/libarchive/test/test_compat_cpio.c
index 8f97036c..19ce48d5 100644
--- a/libarchive/test/test_compat_cpio.c
+++ b/libarchive/test/test_compat_cpio.c
@@ -94,7 +94,7 @@ test_compat_cpio_1(void)
assertEqualInt(archive_format(a), ARCHIVE_FORMAT_CPIO_SVR4_NOCRC);
assertEqualInt(ARCHIVE_OK, archive_read_close(a));
- assertEqualInt(ARCHIVE_OK, archive_read_finish(a));
+ assertEqualInt(ARCHIVE_OK, archive_read_free(a));
}