commit: 16f5d4051398b5e93f69f2b070a9ab9f7196492d
Author: Kerin Millar <kfm <AT> plushkava <DOT> net>
AuthorDate: Tue Jan 13 23:08:38 2026 +0000
Commit: Kerin Millar <kfm <AT> plushkava <DOT> net>
CommitDate: Tue Jan 13 23:08:38 2026 +0000
URL: https://gitweb.gentoo.org/proj/locale-gen.git/commit/?id=16f5d405
Reword a comment to match locale.gen(5)
The parse_config() subroutine contains a comment that briefly explains
the config file grammar. Change "in" to "within" so as to align with the
locale.gen(5) man page.
Signed-off-by: Kerin Millar <kfm <AT> plushkava.net>
locale-gen | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/locale-gen b/locale-gen
index 17e67d1..f9b4f86 100644
--- a/locale-gen
+++ b/locale-gen
@@ -376,7 +376,7 @@ sub parse_config ($fh, $path, $supported_by, $be_strict) {
# A well-formed entry must contain either one or two fields. The
# first defines the localename. The second defines the charmap.
# If the second field is missing, a value of "UTF-8" is assumed.
- # The <slash> character is forbidden in both fields.
+ # The <slash> character is forbidden within both fields.
my @fields = split /\h+/, trim_line($line), 3;
my ($locale, $charmap);
if (0 < @fields < 3 && ! grep +( m/\// ), @fields) {