]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
tools/tools/locale: skip control character widths
authorYuri Pankov <yuripv@FreeBSD.org>
Wed, 23 Dec 2020 12:49:25 +0000 (15:49 +0300)
committerYuri Pankov <yuripv@FreeBSD.org>
Wed, 23 Dec 2020 12:53:43 +0000 (15:53 +0300)
commitf952bdf1425d6a877f99b5c5ca59f25fc8bedabe
tree6e6184b6601bcd57754e16b1cd0e61a578adffaf
parent1c00efe98ed7d103b9684ff692ffd5e3b64d0237
tools/tools/locale: skip control character widths

Do not explicitly encode control characters widths as 0
allowing wcwidth() to return the proper implicit value for
non-printable characters (-1).

Reported by: naddy
tools/tools/locale/etc/final-maps/widths.txt
tools/tools/locale/tools/getwidths.c