svn commit: r358751 - stable/12/lib/libc/locale
Ed Maste
emaste at FreeBSD.org
Sun Mar 8 18:09:42 UTC 2020
Author: emaste
Date: Sun Mar 8 18:09:41 2020
New Revision: 358751
URL: https://svnweb.freebsd.org/changeset/base/358751
Log:
MFC r355914: localeconv: correct grouping and mon_grouping per C/POSIX
grouping and mon_grouping should be "" in the C locale.
PR: 172215
Sponsored by: The FreeBSD Foundation
Modified:
stable/12/lib/libc/locale/fix_grouping.c
Directory Properties:
stable/12/ (props changed)
Modified: stable/12/lib/libc/locale/fix_grouping.c
==============================================================================
--- stable/12/lib/libc/locale/fix_grouping.c Sun Mar 8 18:08:45 2020 (r358750)
+++ stable/12/lib/libc/locale/fix_grouping.c Sun Mar 8 18:09:41 2020 (r358751)
@@ -33,7 +33,7 @@ __FBSDID("$FreeBSD$");
#include <limits.h>
#include <stddef.h>
-static const char nogrouping[] = { CHAR_MAX, '\0' };
+static const char nogrouping[] = { '\0' };
/*
* Internal helper used to convert grouping sequences from string
More information about the svn-src-stable-12
mailing list