Minor changes

This commit is contained in:
Sergey Poznyakoff
2025-05-13 17:59:15 +03:00
parent b009124ffd
commit 9324b472b0
2 changed files with 5 additions and 5 deletions

View File

@@ -809,16 +809,16 @@ COMMON_INLINE bool
isfound (struct name const *c)
{
return (occurrence_option == 0
? (c)->found_count != 0
: (c)->found_count == occurrence_option);
? c->found_count != 0
: c->found_count == occurrence_option);
}
COMMON_INLINE bool
wasfound (struct name const *c)
{
return (occurrence_option == 0
? (c)->found_count != 0
: occurrence_option <= (c)->found_count);
? c->found_count != 0
: occurrence_option <= c->found_count);
}
/* Module tar.c. */

View File

@@ -1198,7 +1198,7 @@ name_gather (void)
namelist = nametail = buffer;
}
else if (change_dir)
addname (0, change_dir, false, NULL);
addname (NULL, change_dir, false, NULL);
}
else
{