mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-01-18 12:29:32 +08:00
* libc/locale/locale.c (__mb_cur_max): On Cygwin, align default value
with default UTF-8 charset.
This commit is contained in:
parent
6e4ac6e81c
commit
9ae37ea0c6
@ -1,3 +1,8 @@
|
||||
2012-03-29 Corinna Vinschen <vinschen@redhat.com>
|
||||
|
||||
* libc/locale/locale.c (__mb_cur_max): On Cygwin, align default value
|
||||
with default UTF-8 charset.
|
||||
|
||||
2012-03-26 Corinna Vinschen <vinschen@redhat.com>
|
||||
|
||||
* libc/stdio/findfp.c (__sinit): Set __sdidinit last.
|
||||
|
@ -188,7 +188,11 @@ No supporting OS subroutines are required.
|
||||
#define _LC_LAST 7
|
||||
#define ENCODING_LEN 31
|
||||
|
||||
#ifdef __CYGWIN__ /* Cygwin starts with LC_CTYPE set to "C.UTF-8". */
|
||||
int __EXPORT __mb_cur_max = 6;
|
||||
#else
|
||||
int __EXPORT __mb_cur_max = 1;
|
||||
#endif
|
||||
|
||||
int __nlocale_changed = 0;
|
||||
int __mlocale_changed = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user