diff options
author | Rich Felker <dalias@aerifal.cx> | 2021-12-27 20:08:31 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2021-12-27 20:08:31 -0500 |
commit | 775bde6b5c04ecc689ecbb4a25ceaf2ed6ab60c8 (patch) | |
tree | b50c32b49deea466e1bc3574ccb27442ab04b5b0 /src/string/wcsncpy.c | |
parent | 8d404733e1314ef633aa09a90865e94fe711b4ca (diff) | |
download | musl-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/string/wcsncpy.c')
0 files changed, 0 insertions, 0 deletions