summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2009-06-03 19:28:22 +0000
committerCorinna Vinschen <corinna@vinschen.de>2009-06-03 19:28:22 +0000
commitc801709ed5776bf9d2af4c50b63405f2b6199f2e (patch)
tree02a110aeeb97fcf083990f30c1168224fa149254 /include
parentb8c9d446690a711831cbd533968942fdfe5948dd (diff)
downloadcygnal-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