History log of /freebsd-11.0-release/usr.bin/pathchk/pathchk.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 303975 11-Aug-2016 gjb

Copy stable/11@r303970 to releng/11.0 as part of the 11.0-RELEASE
cycle.

Prune svn:mergeinfo from the new branch, and rename it to RC1.

Update __FreeBSD_version.

Use the quarterly branch for the default FreeBSD.conf pkg(8) repo and
the dvd1.iso packages population.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 302408 08-Jul-2016 gjb

Copy head@r302406 to stable/11 as part of the 11.0-RELEASE cycle.
Prune svn:mergeinfo from the new branch, as nothing has been merged
here.

Additional commits post-branch will follow.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 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


# 207483 01-May-2010 jilles

pathchk: Add the new POSIX -P option.

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


# 146466 21-May-2005 ru

Sync program's usage() with manpage's SYNOPSIS.


# 107888 15-Dec-2002 tjr

Unbreak support for systems that have no limit on pathname length.

Noticed by: bde


# 107856 14-Dec-2002 tjr

Update pathchk to reflect the fact that 1003.1-2001 now includes the
trailing null byte in PATH_MAX and _POSIX_PATH_MAX.

PR: 46035


# 98093 10-Jun-2002 tjr

When stat(2) fails, put the name of the component it failed on in the
warning message as well as the path argument.


# 97095 22-May-2002 tjr

Add the pathchk utility, which checks pathnames for validity or
portability between POSIX systems.

Submitted by: Chuck Rouillard (manpage, initial implementation)