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
_______________________________________________
svn-src-all@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to