git: libc/locale: Revamp CTYPE support (from Illumos)

John Marino marino at crater.dragonflybsd.org
Sat Aug 1 13:09:27 PDT 2015


commit 4776d4e822ede882d59eb2b58d6dfb813c6148ae
Author: John Marino <draco at marino.st>
Date:   Sat Aug 1 20:36:42 2015 +0200

    libc/locale: Revamp CTYPE support (from Illumos)
    
    The LC_CTYPE format didn't change, but libc stills needs a revamp
    to properly use the new LC_CTYPE files that localedef(2) generates.

Summary of changes:
 lib/libc/locale/Makefile.inc    |   2 +-
 lib/libc/locale/Symbol.map      |   6 +-
 lib/libc/locale/ascii.c         | 192 ------------------
 lib/libc/locale/big5.c          |  36 +++-
 lib/libc/locale/euc.c           | 437 ++++++++++++++++++++++++++++------------
 lib/libc/locale/gb18030.c       |  34 +++-
 lib/libc/locale/gb2312.c        |  37 +++-
 lib/libc/locale/gbk.c           |  33 ++-
 lib/libc/locale/mblocal.h       |  26 ++-
 lib/libc/locale/mbsnrtowcs.c    |  15 +-
 lib/libc/locale/mskanji.c       |  41 +++-
 lib/libc/locale/none.c          |  16 +-
 lib/libc/locale/rune.c          | 119 ++++-------
 lib/libc/locale/setrunelocale.c |  49 ++---
 lib/libc/locale/utf8.c          |  46 ++---
 lib/libc/locale/wcsnrtombs.c    |  19 +-
 16 files changed, 579 insertions(+), 529 deletions(-)
 delete mode 100644 lib/libc/locale/ascii.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/4776d4e822ede882d59eb2b58d6dfb813c6148ae


-- 
DragonFly BSD source repository



More information about the Commits mailing list