about summary refs log tree commit diff
path: root/src/math/j0f.c
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2021-12-27 20:08:31 -0500
committerRich Felker <dalias@aerifal.cx>2021-12-27 20:08:31 -0500
commit775bde6b5c04ecc689ecbb4a25ceaf2ed6ab60c8 (patch)
treeb50c32b49deea466e1bc3574ccb27442ab04b5b0 /src/math/j0f.c
parent8d404733e1314ef633aa09a90865e94fe711b4ca (diff)
downloadmusl-775bde6b5c04ecc689ecbb4a25ceaf2ed6ab60c8.tar.gz
musl-775bde6b5c04ecc689ecbb4a25ceaf2ed6ab60c8.tar.xz
musl-775bde6b5c04ecc689ecbb4a25ceaf2ed6ab60c8.zip
fix wcwidth of hangul combining (vowel/final) letters
these characters combine onto a base character (initial) and therefore
need to have width 0. the original binary-search implementation of
wcwidth handled them correctly, but a regression was introduced in
commit 1b0ce9af6d2aa7b92edaf3e9c631cb635bae22bd by generating the new
tables from unicode without noticing that the classification logic in
use (unicode character category Mn/Me/Cf) was insufficient to catch
these characters.
Diffstat (limited to 'src/math/j0f.c')
0 files changed, 0 insertions, 0 deletions