svn commit: r355914 - head/lib/libc/locale
Ed Maste
emaste at FreeBSD.org
Thu Dec 19 17:01:26 UTC 2019
Author: emaste
Date: Thu Dec 19 17:01:25 2019
New Revision: 355914
URL: https://svnweb.freebsd.org/changeset/base/355914
Log:
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
Modified:
head/lib/libc/locale/fix_grouping.c
Modified: head/lib/libc/locale/fix_grouping.c
==============================================================================
--- head/lib/libc/locale/fix_grouping.c Thu Dec 19 16:39:52 2019 (r355913)
+++ head/lib/libc/locale/fix_grouping.c Thu Dec 19 17:01:25 2019 (r355914)
@@ -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-head
mailing list