newlib/winsup/cygwin/libc
Corinna Vinschen 326fb376dd * 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.
2010-01-22 22:31:31 +00:00
..
bsdlib.cc Make pty.h match recent glibc. 2009-12-26 06:20:56 +00:00
fnmatch.c * libc/fnmatch.c: Replace with multibyte capable version from FreeBSD. 2010-01-16 15:11:56 +00:00
fts.c * libc/bsdlib.cc: Align copyright with upstream. 2009-04-15 08:20:47 +00:00
ftw.c * libc/ftw.cc (ftw): Allow nfds < 0 for glibc compatibility. 2008-02-10 15:19:08 +00:00
getopt.c * libc/getopt.c (getopt_internal): Set optreset according to optind 2009-12-14 10:47:25 +00:00
inet_addr.c * libc/bsdlib.cc: Align copyright with upstream. 2009-04-15 08:20:47 +00:00
inet_network.c * libc/bsdlib.cc: Align copyright with upstream. 2009-04-15 08:20:47 +00:00
minires-os-if.c Remove unneeded header files from source files throughout. Update copyrights 2009-01-03 05:12:22 +00:00
minires.c * libc/minires.c (scanline): Fix type in calls to ctype functions 2009-05-06 12:03:34 +00:00
minires.h Perform whitespace cleanup throughout. 2008-02-15 17:53:11 +00:00
nftw.c * libc/ftw.cc (ftw): Allow nfds < 0 for glibc compatibility. 2008-02-10 15:19:08 +00:00
rcmd.cc * libc/bsdlib.cc: Align copyright with upstream. 2009-04-15 08:20:47 +00:00
rexec.cc * libc/bsdlib.cc: Align copyright with upstream. 2009-04-15 08:20:47 +00:00
strfmon.c * Makefile.in (DLL_OFILES): Add nlsfunc.o and strfmon.o. 2010-01-22 22:31:31 +00:00
strptime.cc * Makefile.in (DLL_OFILES): Add nlsfunc.o and strfmon.o. 2010-01-22 22:31:31 +00:00
xsique.cc Perform whitespace cleanup throughout. 2008-02-15 17:53:11 +00:00