summaryrefslogtreecommitdiffstats
path: root/usr.bin/pathchk
Commit message (Collapse)AuthorAgeFilesLines
* pathchk: Ensure bytes >= 128 are considered non-portable characters.jilles2013-10-201-7/+6
| | | | | | | | | | | 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
* pathchk(1): Fix the example so it allows arbitrary pathnames.jilles2010-05-011-1/+1
| | | | | | | | | | 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
* pathchk: Add the new POSIX -P option.jilles2010-05-012-6/+26
| | | | | | | This option checks for empty pathnames and components starting with '-'. Our -p option also checks for the latter, which remains the case. MFC after: 1 week
* Sync program's usage() with manpage's SYNOPSIS.ru2005-05-211-1/+1
|
* Sort sections.ru2005-01-181-2/+2
|
* Added the EXIT STATUS section where appropriate.ru2005-01-171-1/+1
|
* Unbreak support for systems that have no limit on pathname length.tjr2002-12-151-4/+2
| | | | Noticed by: bde
* Update pathchk to reflect the fact that 1003.1-2001 now includes thetjr2002-12-141-0/+2
| | | | | | trailing null byte in PATH_MAX and _POSIX_PATH_MAX. PR: 46035
* Uniformly refer to a file system as "file system".ru2002-12-121-1/+1
| | | | Approved by: re
* When stat(2) fails, put the name of the component it failed on in thetjr2002-06-101-1/+2
| | | | warning message as well as the path argument.
* mdoc(7) police: tidy up the markup.ru2002-05-301-12/+9
|
* Add the pathchk utility, which checks pathnames for validity ortjr2002-05-223-0/+321
portability between POSIX systems. Submitted by: Chuck Rouillard (manpage, initial implementation)
OpenPOWER on IntegriCloud