diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2015-11-21 16:51:12 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2015-11-21 16:51:12 +0100 |
commit | 26a8b62e9a3398bc0308e13edfa053a01eb0cc21 (patch) | |
tree | a533ba1279229b5622a252550e418cc789646e64 /winsup/cygwin/ChangeLog | |
parent | 666a3482a5a24f93cf691b7b38c395241d38b34c (diff) | |
download | newlib-26a8b62e9a3398bc0308e13edfa053a01eb0cc21.zip newlib-26a8b62e9a3398bc0308e13edfa053a01eb0cc21.tar.gz newlib-26a8b62e9a3398bc0308e13edfa053a01eb0cc21.tar.bz2 |
Fix numeric and monetary decimal point and thousands separator in fa_IR and ps_AF locales
* nlsfuncs.cc (setlocaleinfo): New macro calling __setlocaleinfo.
(__setlocaleinfo): New function to set a locale-specific character
to an explicit wchar_t value.
(__set_lc_numeric_from_win): Handle fa_IR and ps_AF locales to return
same decimal point and thousands separator characters as on Linux.
(__set_lc_monetary_from_win): Ditto for monetary characters.
Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
Diffstat (limited to 'winsup/cygwin/ChangeLog')
-rw-r--r-- | winsup/cygwin/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index a751696..689411d 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,12 @@ +2015-11-21 Corinna Vinschen <corinna@vinschen.de> + + * nlsfuncs.cc (setlocaleinfo): New macro calling __setlocaleinfo. + (__setlocaleinfo): New function to set a locale-specific character + to an explicit wchar_t value. + (__set_lc_numeric_from_win): Handle fa_IR and ps_AF locales to return + same decimal point and thousands separator characters as on Linux. + (__set_lc_monetary_from_win): Ditto for monetary characters. + 2015-11-20 Corinna Vinschen <corinna@vinschen.de> * common.din (strtold): Drop redirection to _strtold. |