__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
@ -209,7 +209,7 @@ struct xlocale_ctype __xlocale_global_ctype = {
|
||||
256 /* __mb_sb_limit */
|
||||
};
|
||||
|
||||
const struct xlocale_ctype __xlocale_C_ctype = {
|
||||
struct xlocale_ctype __xlocale_C_ctype = {
|
||||
{{0}, "C"},
|
||||
(_RuneLocale*)&_DefaultRuneLocale,
|
||||
_none_mbrtowc,
|
||||
|
Loading…
x
Reference in New Issue
Block a user