HomeFreeBSD

tools/tools/locale: skip control character widths

Description

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

(cherry picked from commit f952bdf1425d6a877f99b5c5ca59f25fc8bedabe)

Details

Provenance
yuripvAuthored on Dec 23 2020, 12:49 PM
Parents
rG06e63004abb0: libregex: implement GNU extensions
Branches
Unknown
Tags
Unknown

Event Timeline

Yuri Pankov <yuripv@FreeBSD.org> committed rG3cc3872829b1: tools/tools/locale: skip control character widths (authored by Yuri Pankov <yuripv@FreeBSD.org>).Dec 28 2020, 4:58 AM