Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Dec 2019 17:01:26 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r355914 - head/lib/libc/locale
Message-ID:  <201912191701.xBJH1Qnx090666@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912191701.xBJH1Qnx090666>