From be764ea806e26d643e7f8e4322c4c280f89e06a2 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Wed, 28 Apr 2010 10:00:24 +0000 Subject: * 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/cygwin.din | 1 + 1 file changed, 1 insertion(+) (limited to 'winsup/cygwin/cygwin.din') diff --git a/winsup/cygwin/cygwin.din b/winsup/cygwin/cygwin.din index eefba316d..fa5c77dd7 100644 --- a/winsup/cygwin/cygwin.din +++ b/winsup/cygwin/cygwin.din @@ -899,6 +899,7 @@ llistxattr SIGFE llrint = _f_llrint NOSIGFE llrintf = _f_llrintf NOSIGFE llrintl = _f_llrintl NOSIGFE +__locale_mb_cur_max NOSIGFE localeconv NOSIGFE _localeconv = localeconv NOSIGFE localtime SIGFE -- cgit v1.2.3