Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2009-06-03 23:28:22 +0400
committerCorinna Vinschen <corinna@vinschen.de>2009-06-03 23:28:22 +0400
commitc801709ed5776bf9d2af4c50b63405f2b6199f2e (patch)
tree02a110aeeb97fcf083990f30c1168224fa149254 /include
parentb8c9d446690a711831cbd533968942fdfe5948dd (diff)
* 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