diff options
author | Andreas Schwab <schwab@suse.de> | 2013-11-11 18:09:18 +0100 |
---|---|---|
committer | Andreas Schwab <schwab@suse.de> | 2013-11-18 12:50:09 +0100 |
commit | a7931fcfba2a5007021f8d10fffa5f51651ad7b3 (patch) | |
tree | 95ee74831a1fcc8cad2b92cb26af5396837bf45e /ChangeLog | |
parent | 728dab0e13529ba8778e6ef07e2cc80eddf028b5 (diff) | |
download | glibc-a7931fcfba2a5007021f8d10fffa5f51651ad7b3.tar glibc-a7931fcfba2a5007021f8d10fffa5f51651ad7b3.tar.gz glibc-a7931fcfba2a5007021f8d10fffa5f51651ad7b3.tar.bz2 glibc-a7931fcfba2a5007021f8d10fffa5f51651ad7b3.zip |
Properly handle unavailable elements in LC_MONETARY category
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
@@ -1,3 +1,19 @@ +2013-11-18 Andreas Schwab <schwab@suse.de> + + * locale/programs/locale.c (show_info) [case byte]: Check for + '\377' instead of '\177'. + * locale/C-monetary.c (not_available): Always use "\377". + * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for + unspecified p_sign_posn and n_sign_posn. Check for '\377' to + detect unavailable sign_posn locale elements. + * locale/localeconv.c (__localeconv): For grouping and + mon_grouping handle "\177" and "\377" like no grouping. + (INT_ELEM): New macro. Use it to set all numeric members. + * locale/programs/ld-monetary.c (monetary_read) + <tok_mon_grouping>: Normalize single -1 to the empty string. + * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>: + Likewise. + 2013-11-07 Ondřej Bílka <neleai@seznam.cz> [BZ #16055] |