* 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:
@ -1,7 +1,7 @@
|
||||
/* sys/cygwin.h
|
||||
|
||||
Copyright 1997, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2006,
|
||||
2007, 2008, 2009 Red Hat, Inc.
|
||||
2007, 2008, 2009, 2010 Red Hat, Inc.
|
||||
|
||||
This file is part of Cygwin.
|
||||
|
||||
@ -145,7 +145,8 @@ typedef enum
|
||||
CW_SETERRNO,
|
||||
CW_EXIT_PROCESS,
|
||||
CW_SET_EXTERNAL_TOKEN,
|
||||
CW_GET_INSTKEY
|
||||
CW_GET_INSTKEY,
|
||||
CW_INT_SETLOCALE
|
||||
} cygwin_getinfo_types;
|
||||
|
||||
/* Token type for CW_SET_EXTERNAL_TOKEN */
|
||||
|
Reference in New Issue
Block a user