From 3bac34907e0563c69d221c8cd03f35e773a42fce Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Thu, 19 Dec 2019 17:01:25 +0000 Subject: [PATCH] localeconv: correct grouping and mon_grouping per C/POSIX grouping and mon_grouping should be "" in the C locale. PR: 172215 MFC after: 6 weeks Sponsored by: The FreeBSD Foundation --- lib/libc/locale/fix_grouping.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libc/locale/fix_grouping.c b/lib/libc/locale/fix_grouping.c index d6e74eb80b70..d15faef80781 100644 --- a/lib/libc/locale/fix_grouping.c +++ b/lib/libc/locale/fix_grouping.c @@ -33,7 +33,7 @@ __FBSDID("$FreeBSD$"); #include #include -static const char nogrouping[] = { CHAR_MAX, '\0' }; +static const char nogrouping[] = { '\0' }; /* * Internal helper used to convert grouping sequences from string