diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2015-11-21 18:51:12 +0300 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2015-11-21 18:51:12 +0300 |
commit | 26a8b62e9a3398bc0308e13edfa053a01eb0cc21 (patch) | |
tree | a533ba1279229b5622a252550e418cc789646e64 /winsup/doc | |
parent | 666a3482a5a24f93cf691b7b38c395241d38b34c (diff) |
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/doc')
-rw-r--r-- | winsup/doc/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/doc/new-features.xml | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/winsup/doc/ChangeLog b/winsup/doc/ChangeLog index f20a72daf..8d42f0033 100644 --- a/winsup/doc/ChangeLog +++ b/winsup/doc/ChangeLog @@ -1,3 +1,7 @@ +2015-11-21 Corinna Vinschen <corinna@vinschen.de> + + * new-features.xml (ov-new2.4): Document fa_IR and ps_AF locale fixes. + 2015-11-18 Corinna Vinschen <corinna@vinschen.de> * new-features.xml (ov-new2.4): Add new ACL changes. diff --git a/winsup/doc/new-features.xml b/winsup/doc/new-features.xml index ff8c03659..21bc6911f 100644 --- a/winsup/doc/new-features.xml +++ b/winsup/doc/new-features.xml @@ -40,6 +40,11 @@ setfacl(1) now allows to use the -b and -k option combined to allow reducing an ACL to only reflect standard POSIX permissions. </para></listitem> +<listitem><para> +Fix (numeric and monetary) decimal point and thousands separator in +fa_IR and ps_AF locales to be aligned with Linux. +</para></listitem> + </itemizedlist> </sect2> |