freebsd-src/usr.bin/pathchk
Jilles Tjoelker 204ee8a919 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
2014-08-31 20:34:06 +00:00
..
Makefile
pathchk.1 pathchk(1): Fix the example so it allows arbitrary pathnames. 2010-05-01 22:10:45 +00:00
pathchk.c MFC r256800: pathchk: Ensure bytes >= 128 are considered non-portable 2014-08-31 20:34:06 +00:00