svn commit: r297798 - stable/10/lib/libc/locale

Andrey A. Chernov ache at FreeBSD.org
Mon Apr 11 02:21:43 UTC 2016


Author: ache
Date: Mon Apr 11 02:21:42 2016
New Revision: 297798
URL: https://svnweb.freebsd.org/changeset/base/297798

Log:
  MFC r297557:
  SJIS encoding don't have single byte characters >= 224

Modified:
  stable/10/lib/libc/locale/mskanji.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/lib/libc/locale/mskanji.c
==============================================================================
--- stable/10/lib/libc/locale/mskanji.c	Mon Apr 11 02:18:59 2016	(r297797)
+++ stable/10/lib/libc/locale/mskanji.c	Mon Apr 11 02:21:42 2016	(r297798)
@@ -73,7 +73,7 @@ _MSKanji_init(struct xlocale_ctype *l, _
 	l->__mbsinit = _MSKanji_mbsinit;
 	l->runes = rl;
 	l->__mb_cur_max = 2;
-	l->__mb_sb_limit = 256;
+	l->__mb_sb_limit = 224;
 	return (0);
 }
 


More information about the svn-src-stable mailing list