256800 |
20-Oct-2013 |
jilles |
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: bin/165988 Reported by: Nicolas Rachinsky
|
207485 |
01-May-2010 |
jilles |
pathchk(1): Fix the example so it allows arbitrary pathnames.
Spaces and various other characters in pathnames are not passed through literally by xargs in its default mode. Instead, use find . -exec ... {} +
Although the -- argument is not strictly required here, add it anyway to avoid surprises when modifying the code to find -f -somedir ...
MFC after: 1 week
|