* external.cc (cygwin_internal): Add CW_INT_SETLOCALE case to

allow to call internal_setlocale().
	* nlsfuncs.cc (internal_setlocale): Make externally available.
	* include/cygwin/version.h: Bump API minor number.
	* include/sys/cygwin.h (cygwin_getinfo_types): Add CW_INT_SETLOCALE.

	* nlsfuncs.cc (lc_mbstowcs): Fix call to f_mbtowc.
	(__set_locale_from_locale_alias): Ignore "@cjknarrow" modifier.
This commit is contained in:
Corinna Vinschen
2010-02-08 09:52:40 +00:00
parent 72e44746dc
commit f5a73638cd
4 changed files with 23 additions and 4 deletions

View File

@ -375,12 +375,13 @@ details. */
219: Export dup3, pipe2, O_CLOEXEC, F_DUPFD_CLOEXEC.
220: Export accept4, SOCK_CLOEXEC, SOCK_NONBLOCK.
221: Export strfmon.
222: CW_INT_SETLOCALE added.
*/
/* Note that we forgot to bump the api for ualarm, strtoll, strtoull */
#define CYGWIN_VERSION_API_MAJOR 0
#define CYGWIN_VERSION_API_MINOR 221
#define CYGWIN_VERSION_API_MINOR 222
/* There is also a compatibity version number associated with the
shared memory regions. It is incremented when incompatible