OSDN Git Service

* cygwin.din (__locale_mb_cur_max): Export.
authorcorinna <corinna>
Wed, 28 Apr 2010 10:00:24 +0000 (10:00 +0000)
committercorinna <corinna>
Wed, 28 Apr 2010 10:00:24 +0000 (10:00 +0000)
commit83a7fbab26faeae548626d9c3b8ffdb4db4b0fdd
tree391652d00360659d49aad6532ef0577be10512d1
parent772f7f20f7bbac3a16528d54b84e035f2d7e6dac
* cygwin.din (__locale_mb_cur_max): Export.
* nlsfuncs.cc (__getlocaleinfo): Drop conversion to multibyte.
(__charfromwchar): New function to convert to multibyte.
(__eval_datetimefmt): Convert to return wchar_t pointer.  Work on
wide char string.
(__set_lc_time_from_win): Take additional pointer to "C" category info
to accommodate C.foo locales.  Rework to fill wide char members in
category info.
(__set_lc_ctype_from_win): New function.
(__set_lc_numeric_from_win): Take additional pointer to "C" category
info to accommodate C.foo locales.  Rework to fill wide char members
in category info.
(__set_lc_monetary_from_win): Ditto.
(__set_lc_messages_from_win): Ditto.
(__get_current_collate_codeset): New function, called from nl_langinfo.
* include/cygwin/config.h (__HAVE_LOCALE_INFO_EXTENDED__): Define.
winsup/cygwin/ChangeLog
winsup/cygwin/cygwin.din
winsup/cygwin/include/cygwin/config.h
winsup/cygwin/nlsfuncs.cc