__xlocale_C_ctype should not be const. It contains a reference count that is modified by newlocale / duplocale / freelocale.
MFC after: 1 week
This commit is contained in:
parent
58912ae7c3
commit
710ec77e3a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=281927
@ -209,7 +209,7 @@ struct xlocale_ctype __xlocale_global_ctype = {
|
|||||||
256 /* __mb_sb_limit */
|
256 /* __mb_sb_limit */
|
||||||
};
|
};
|
||||||
|
|
||||||
const struct xlocale_ctype __xlocale_C_ctype = {
|
struct xlocale_ctype __xlocale_C_ctype = {
|
||||||
{{0}, "C"},
|
{{0}, "C"},
|
||||||
(_RuneLocale*)&_DefaultRuneLocale,
|
(_RuneLocale*)&_DefaultRuneLocale,
|
||||||
_none_mbrtowc,
|
_none_mbrtowc,
|
||||||
|
Loading…
Reference in New Issue
Block a user