diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2010-01-22 22:31:31 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2010-01-22 22:31:31 +0000 |
commit | 326fb376dda24e2c3f445863791eb6073d91d69b (patch) | |
tree | 6f272a713b5deab3bead327e258592b887f3d528 /winsup/utils/getlocale.c | |
parent | e894eef9f5bfa989029423afe729da554df8d17e (diff) | |
download | cygnal-326fb376dda24e2c3f445863791eb6073d91d69b.tar.gz cygnal-326fb376dda24e2c3f445863791eb6073d91d69b.tar.bz2 cygnal-326fb376dda24e2c3f445863791eb6073d91d69b.zip |
* Makefile.in (DLL_OFILES): Add nlsfunc.o and strfmon.o.
* autoload.cc (LocaleNameToLCID): Define.
* cygwin.din (strfmon): Export.
* nlsfuncs.cc: New file. Define a lot of internal functions called
from setlocale.
(wcscoll): Implement locale-aware here, using CompareStringW function.
(strcoll): Ditto.
(wcsxfrm): Implement locale-aware here, usingLCMapStringW function.
(strxfrm): Ditto.
(__set_charset_from_locale): Replace __set_charset_from_codepage.
Return Linux-compatible charset.
* strfuncs.cc (__set_charset_from_codepage): Remove.
* wchar.h (__set_charset_from_codepage): Drop definition.
* wincap.h (wincaps::has_localenames): New element.
* wincap.cc: Implement above element throughout.
* libc/strfmon.c: New file.
* libc/strptime.cc: Remove locale constant strings in favor of
access to locale-specifc data.
(strptime): Point _CurrentTimeLocale to locale-specific data.
Throughout use correct locale-specific format fields for all
locale-specific formats.
* include/monetary.h: New file.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
Diffstat (limited to 'winsup/utils/getlocale.c')
0 files changed, 0 insertions, 0 deletions