git: 3d36161bc3aa - releng/14.0 - localedef: correct definition of right-parenthesis in default charmap

From: Kyle Evans <kevans_at_FreeBSD.org>
Date: Sun, 10 Sep 2023 04:28:19 UTC
The branch releng/14.0 has been updated by kevans:

URL: https://cgit.FreeBSD.org/src/commit/?id=3d36161bc3aa90d329c10b10bbb27a17d33a2b13

commit 3d36161bc3aa90d329c10b10bbb27a17d33a2b13
Author:     Kyle Evans <kevans@FreeBSD.org>
AuthorDate: 2023-09-02 05:56:31 +0000
Commit:     Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2023-09-10 04:27:50 +0000

    localedef: correct definition of right-parenthesis in default charmap
    
    It turns out that right parentheses do exist and are different than
    left parentheses, so let's switch to that.
    
    Approved by:    re (kib)
    Sponsored by:   Klara, Inc.
    
    (cherry picked from commit 07bc20e4740d09f554c3787bb1940fc503300822)
    (cherry picked from commit 8d98eb4e51eb1777b6bdb3682dbd7472c9cc2c71)
---
 usr.bin/localedef/charmap.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.bin/localedef/charmap.c b/usr.bin/localedef/charmap.c
index bc302965de1a..44b7e3292eae 100644
--- a/usr.bin/localedef/charmap.c
+++ b/usr.bin/localedef/charmap.c
@@ -86,7 +86,7 @@ static const struct {
 	{ "ampersand",		'&' },
 	{ "apostrophe",		'\'' },
 	{ "left-parenthesis",	'(' },
-	{ "right-parenthesis",	'(' },
+	{ "right-parenthesis",	')' },
 	{ "asterisk",		'*' },
 	{ "plus-sign",		'+' },
 	{ "comma",		 ','},