summaryrefslogtreecommitdiff
path: root/tar/write.c
diff options
context:
space:
mode:
authorMichihiro NAKAJIMA <ggcueroad@gmail.com>2012-02-08 05:09:25 +0900
committerMichihiro NAKAJIMA <ggcueroad@gmail.com>2012-02-08 05:09:25 +0900
commitb4d25a741c58200e1b48c5108140aedf8c1acccc (patch)
tree5b6cd2b0853bf904d91040bbc6976d1ef315da14 /tar/write.c
parentc5356170ba6ae487ea7a1c80bb6d433eaf7715ec (diff)
downloadlibarchive-b4d25a741c58200e1b48c5108140aedf8c1acccc.tar.gz
Rename archive_matching to archive_match.
Diffstat (limited to 'tar/write.c')
-rw-r--r--tar/write.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/tar/write.c b/tar/write.c
index 93c12592..1c0f5ccc 100644
--- a/tar/write.c
+++ b/tar/write.c
@@ -342,9 +342,9 @@ tar_mode_u(struct bsdtar *bsdtar)
lafe_errc(1, 0,
"Cannot append to compressed archive.");
}
- if (archive_matching_exclude_entry(bsdtar->matching,
- ARCHIVE_MATCHING_MTIME | ARCHIVE_MATCHING_OLDER |
- ARCHIVE_MATCHING_EQUAL, entry) != ARCHIVE_OK)
+ if (archive_match_exclude_entry(bsdtar->matching,
+ ARCHIVE_MATCH_MTIME | ARCHIVE_MATCH_OLDER |
+ ARCHIVE_MATCH_EQUAL, entry) != ARCHIVE_OK)
lafe_errc(1, 0, "Error : %s",
archive_error_string(bsdtar->matching));
/* Record the last format determination we see */
@@ -590,7 +590,7 @@ append_archive(struct bsdtar *bsdtar, struct archive *a, struct archive *ina)
int e;
while (ARCHIVE_OK == (e = archive_read_next_header(ina, &in_entry))) {
- if (archive_matching_excluded(bsdtar->matching, in_entry))
+ if (archive_match_excluded(bsdtar->matching, in_entry))
continue;
if (bsdtar->option_interactive &&
!yes("copy '%s'", archive_entry_pathname(in_entry)))