Update invocations of name_scan.

This commit is contained in:
Sergey Poznyakoff
2005-12-14 12:58:56 +00:00
parent dacac1b6be
commit 288315211a
3 changed files with 4 additions and 4 deletions

View File

@@ -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))

View File

@@ -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;

View File

@@ -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;