From 288315211a6cc8e68d460d990ff94835815e68bd Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Wed, 14 Dec 2005 12:58:56 +0000 Subject: [PATCH] Update invocations of name_scan. --- src/delete.c | 4 ++-- src/incremen.c | 2 +- src/update.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/delete.c b/src/delete.c index 321f0a3..707b024 100644 --- a/src/delete.c +++ b/src/delete.c @@ -173,7 +173,7 @@ delete_archive_members (void) abort (); case HEADER_SUCCESS: - if ((name = name_scan (current_stat_info.file_name)) == NULL) + if ((name = name_scan (current_stat_info.file_name, false)) == NULL) { skip_member (); break; @@ -284,7 +284,7 @@ delete_archive_members (void) /* Found another header. */ - if ((name = name_scan (current_stat_info.file_name)) != NULL) + if ((name = name_scan (current_stat_info.file_name, false)) != NULL) { name->found_count++; if (ISFOUND(name)) diff --git a/src/incremen.c b/src/incremen.c index c0bbf4e..d4ef30a 100644 --- a/src/incremen.c +++ b/src/incremen.c @@ -208,7 +208,7 @@ procdir (char *name_buffer, struct stat *stat_data, omit it... */ if (one_file_system_option && device != stat_data->st_dev /* ... except if it was explicitely given in the command line */ - && !((np = name_scan (name_buffer)) && np->explicit)) + && !((np = name_scan (name_buffer, true)) && np->explicit)) directory->children = NO_CHILDREN; else if (children == ALL_CHILDREN) directory->children = ALL_CHILDREN; diff --git a/src/update.c b/src/update.c index 6546b03..1806fcf 100644 --- a/src/update.c +++ b/src/update.c @@ -131,7 +131,7 @@ update_archive (void) archive_format = current_format; if (subcommand_option == UPDATE_SUBCOMMAND - && (name = name_scan (current_stat_info.file_name)) != NULL) + && (name = name_scan (current_stat_info.file_name, false)) != NULL) { struct stat s; -- 2.45.2