diff options
author | jilles <jilles@FreeBSD.org> | 2014-08-31 20:34:06 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2014-08-31 20:34:06 +0000 |
commit | 1c7ffe47627d1d4ed4d2c3ad0aef344c4fdee92d (patch) | |
tree | 780218b7495d71ca2fd15217cc47cd8120b93847 /sys/dev/vt | |
parent | bd6edcc077ffc3e30265b53cb1cff6c4f2e9d80c (diff) | |
download | FreeBSD-src-1c7ffe47627d1d4ed4d2c3ad0aef344c4fdee92d.zip FreeBSD-src-1c7ffe47627d1d4ed4d2c3ad0aef344c4fdee92d.tar.gz |
MFC r256800: pathchk: Ensure bytes >= 128 are considered non-portable
characters.
This was not broken on architectures such as ARM where char is unsigned.
Also, remove the first non-portable character from the output. POSIX does
not require this, and printing the first byte may yield an invalid byte
sequence with UTF-8.
PR: 165988
Reported by: Nicolas Rachinsky
Relnotes: yes
Diffstat (limited to 'sys/dev/vt')
0 files changed, 0 insertions, 0 deletions