Fix typo in comments

This and the bug fixed by the previous commit were reported by
Benno Schulenberg.
This commit is contained in:
Sergey Poznyakoff
2023-07-11 09:12:47 +03:00
parent 10954cf163
commit 31f68bbe2a

View File

@@ -1279,7 +1279,7 @@ add_starting_file (char const *file_name)
starting_file_option = true;
}
/* Find a match for FILE_NAME in the name list. If EXPECT is true,
/* Find a match for FILE_NAME in the name list. If EXACT is true,
look for exact match (no wildcards). */
static struct name *
namelist_match (char const *file_name, bool exact)
@@ -1883,7 +1883,7 @@ collect_and_sort_names (void)
in structure. The caller will have to do that if it wants to.
2. If the namelist is empty, it returns null, unlike name_match, which
returns TRUE.
3. If EXPECT is true, it looks for exact matches only (no wildcards). */
3. If EXACT is true, it looks for exact matches only (no wildcards). */
struct name *
name_scan (const char *file_name, bool exact)
{