Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Mar 2020 18:09:41 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r358751 - stable/12/lib/libc/locale
Message-ID:  <202003081809.028I9foB098883@repo.freebsd.org>

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



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