git: locales LC_NUMERIC: Overhaul completely wrong definitions

John Marino marino at crater.dragonflybsd.org
Wed Jul 22 10:14:37 PDT 2015


commit a2f82b3ca72c5d88fd9fccb579a6115bfc4771b4
Author: John Marino <draco at marino.st>
Date:   Wed Jul 22 19:08:43 2015 +0200

    locales LC_NUMERIC: Overhaul completely wrong definitions
    
    I have no idea how the UTF-8 definitions were created.  They appear
    to be grouped by (allegedly) similar countries with the same
    definitions as other codesets.  The assumption is wrong.  I went through
    every POSIX (UTF-8) definition on http://unicode.org and redefined all
    UTF-8 locales. Besides being correct, there are 2 additional benefits:
    1) The makefile is loads simpler, at least for UTF-8 part
    2) This fixes a lot of locale failures on gcc testsuite

Summary of changes:
 share/numericdef/Makefile                          | 51 +++++++++++++---------
 .../{mn_MN.UTF-8.src => af_ZA.UTF-8.src}           |  8 ++--
 .../{mn_MN.UTF-8.src => de_CH.UTF-8.src}           |  8 ++--
 .../{mn_MN.UTF-8.src => de_DE.UTF-8.src}           |  8 ++--
 .../{am_ET.UTF-8.src => en_US.UTF-8.src}           |  4 +-
 .../{mn_MN.UTF-8.src => hy_AM.UTF-8.src}           |  8 ++--
 6 files changed, 43 insertions(+), 44 deletions(-)
 copy share/numericdef/{mn_MN.UTF-8.src => af_ZA.UTF-8.src} (57%)
 copy share/numericdef/{mn_MN.UTF-8.src => de_CH.UTF-8.src} (63%)
 copy share/numericdef/{mn_MN.UTF-8.src => de_DE.UTF-8.src} (63%)
 rename share/numericdef/{am_ET.UTF-8.src => en_US.UTF-8.src} (63%)
 rename share/numericdef/{mn_MN.UTF-8.src => hy_AM.UTF-8.src} (63%)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/a2f82b3ca72c5d88fd9fccb579a6115bfc4771b4


-- 
DragonFly BSD source repository



More information about the Commits mailing list