]> sourceware.org Git - newlib-cygwin.git/commit
* cygheap.cc (cygheap_init): Default locale.charset to "UTF-8".
authorCorinna Vinschen <corinna@vinschen.de>
Mon, 28 Sep 2009 10:43:49 +0000 (10:43 +0000)
committerCorinna Vinschen <corinna@vinschen.de>
Mon, 28 Sep 2009 10:43:49 +0000 (10:43 +0000)
commitd856640e1c8dc008113a6865826d9459710f9857
tree0c0e5251a4d9fd1ac161c42d6f4baa75e6665321
parenta58d484bcfa8a8581fda771e2f60aa0307534590
* cygheap.cc (cygheap_init): Default locale.charset to "UTF-8".
* dcrt0.cc (dll_crt0_1): Call setlocale (LC_CTYPE, "") here, just
before resetting application locale to "C".
* environ.cc (environ_init): Drop code setting locale here.
* syscalls.cc (check_codepage): Break out check for required codepage
from internal_setlocale.
(internal_setlocale): Just convert CWD and $PATH from old charset to
new charset and set internal charset.
(setlocale): Change accordingly.  Don't require LC_ALL or LC_CTYPE to
store old locale value.  Always call internal_setlocale if charset
changed due to locale environment changes.
winsup/cygwin/ChangeLog
winsup/cygwin/cygheap.cc
winsup/cygwin/dcrt0.cc
winsup/cygwin/environ.cc
winsup/cygwin/syscalls.cc
This page took 0.029343 seconds and 5 git commands to generate.