git: ctypedef: Replace entire "print" sections with one element

John Marino marino at crater.dragonflybsd.org
Sat Aug 15 06:30:43 PDT 2015


commit e2b72454ba857934524b7045e27559c5175f8cbf
Author: John Marino <draco at marino.st>
Date:   Sat Aug 15 15:10:32 2015 +0200

    ctypedef: Replace entire "print" sections with one element
    
    With a recent change to localedef, the "print" section became completely
    redundant.  Since it can consume several hundred thousand bytes, removing
    it makes the ctype src files much smaller, usually by 33% - 50%.
    
    However, non-breaking spaces have not been previously defined despite
    being used in monetary definitions. To correct this mistake, the
    non-breaking space has been introduced to ctype as a printable blank
    character.  Localedef considers "blanks" as "spaces" so there is no need
    to explicitly define this as a space as well.

Summary of changes:
 share/ctypedef/am_ET.UTF-8.src      |   592 +-
 share/ctypedef/ca_IT.UTF-8.src      |  1384 +---
 share/ctypedef/el_GR.UTF-8.src      |   467 +-
 share/ctypedef/en_US.UTF-8.src      |  1383 +---
 share/ctypedef/he_IL.UTF-8.src      |   230 +-
 share/ctypedef/hi_IN.UTF-8.src      |   249 +-
 share/ctypedef/hy_AM.UTF-8.src      |   190 +-
 share/ctypedef/ja_JP.UTF-8.src      |  2471 +------
 share/ctypedef/ko_KR.UTF-8.src      | 11836 +---------------------------------
 share/ctypedef/ru_RU.UTF-8.src      |   528 +-
 share/ctypedef/uk_UA.UTF-8.src      |   529 +-
 share/ctypedef/zh_Hans_CN.UTF-8.src |  2307 +------
 share/ctypedef/zh_Hant_TW.UTF-8.src |  2277 +------
 13 files changed, 26 insertions(+), 24417 deletions(-)

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


-- 
DragonFly BSD source repository



More information about the Commits mailing list