yuripv 17c10964b4 Reset persistent mbstates when rune locale encoding changes.
This was shown to be a problem by side effect of now-enabled test case,
which was going through C, en_US.UTF-8, ja_JP.SJIS, and ja_JP.eucJP,
and failing eventually as data in mbrtowc's mbstate, that was
perfectly correct for en_US.UTF-8 was treated as incorrect for
ja_JP.SJIS, failing the entire test case.

This makes the persistent mbstates to be per ctype-component,
and not per-locale so we could easily reset the mbstates when
only LC_CTYPE is changed.

Reviewed by:	bapt, pfg
Approved by:	kib (mentor, implicit)
Differential Revision:	https://reviews.freebsd.org/D17796
2018-11-09 03:32:53 +00:00
..
2018-09-19 06:39:10 +00:00
2018-10-20 20:49:46 +00:00
2018-09-19 06:42:05 +00:00
2018-11-04 18:24:11 +00:00
2018-08-08 01:33:36 +00:00
2018-10-19 00:37:47 +00:00
2018-10-26 21:17:50 +00:00
2018-05-31 09:11:21 +00:00
2018-05-23 01:20:31 +00:00
2018-08-14 18:58:01 +00:00
2018-08-21 02:38:07 +00:00
2018-10-05 17:53:47 +00:00
2018-09-19 07:01:22 +00:00
2018-10-28 23:54:05 +00:00
2018-05-18 06:10:16 +00:00