From 31f68bbe2a54841d997409b890fcfffa8aaab119 Mon Sep 17 00:00:00 2001 From: Sergey Poznyakoff Date: Tue, 11 Jul 2023 09:12:47 +0300 Subject: [PATCH] Fix typo in comments This and the bug fixed by the previous commit were reported by Benno Schulenberg. --- src/names.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/names.c b/src/names.c index a3d54c13..d3027379 100644 --- a/src/names.c +++ b/src/names.c @@ -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) { -- 2.47.3