]> www.infradead.org Git - users/jedix/linux-maple.git/commit
vt: update ucs_width.c using gen_ucs_width.py
authorNicolas Pitre <npitre@baylibre.com>
Thu, 10 Apr 2025 01:13:57 +0000 (21:13 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Apr 2025 14:55:54 +0000 (16:55 +0200)
commit3a1ab63aa05b4736a7d30ae0a769385662f13def
tree014ae4767a5627aca32f708568e2c78b97db9132
parent26c94eb4842ada96f9709b43ef225417a6b4df63
vt: update ucs_width.c using gen_ucs_width.py

This replaces ucs_width.c with the code generated by gen_ucs_width.py
providing comprehensive tables for double-width and zero-width Unicode
code points. Also make ucs_is_zero_width() effective.

Note: scripts/checkpatch.pl complains about "... exceeds 100 columns".
      Please ignore.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
Link: https://lore.kernel.org/r/20250410011839.64418-6-nico@fluxnic.net
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/ucs_width.c
include/linux/consolemap.h