diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2009-06-03 19:28:22 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2009-06-03 19:28:22 +0000 |
commit | c801709ed5776bf9d2af4c50b63405f2b6199f2e (patch) | |
tree | 02a110aeeb97fcf083990f30c1168224fa149254 /include | |
parent | b8c9d446690a711831cbd533968942fdfe5948dd (diff) | |
download | cygnal-c801709ed5776bf9d2af4c50b63405f2b6199f2e.tar.gz cygnal-c801709ed5776bf9d2af4c50b63405f2b6199f2e.tar.bz2 cygnal-c801709ed5776bf9d2af4c50b63405f2b6199f2e.zip |
* libc/string/wcwidth.c: Optimize for speed.
* libc/locale/locale.c (lc_ctype_cjk_lang): New static int.
(loadlocale): In case of setting LC_CTYPE, set lc_ctype_cjk_lang
to 1 if the language is "jp", "ko", or "zh", to 0 otherwise.
(__locale_cjk_lang): New function.
* libc/string/local.h (__locale_cjk_lang): Declare.
* libc/string/wcwidth.c: Fix comments.
(__wcwidth): Handle CJK Ambiguous Width characters according
to setting returned by __locale_cjk_lang.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions