summaryrefslogtreecommitdiff
path: root/usr.bin/pathchk
Commit message (Collapse)AuthorAgeFilesLines
* various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-0/+2
| | | | | | | | | | | | | | | | | Mainly focus on files that use BSD 2-Clause license, however the tool I was using misidentified many licenses so this was mostly a manual - error prone - task. The Software Package Data Exchange (SPDX) group provides a specification to make it easier for automated tools to detect and summarize well known opensource licenses. We are gradually adopting the specification, noting that the tags are considered only advisory and do not, in any way, superceed or replace the license texts. No functional change intended. Notes: svn path=/head/; revision=326276
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* Add -P to pathchk usageEitan Adler2016-07-091-1/+1
| | | | Notes: svn path=/head/; revision=302480
* Add META_MODE support.Simon J. Gerraty2015-06-131-0/+18
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp Notes: svn path=/head/; revision=284345
| * dirdeps.mk now sets DEP_RELDIRSimon J. Gerraty2015-06-081-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=284172
| * Updated dependenciesSimon J. Gerraty2014-05-161-1/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=266219
| * Updated dependenciesSimon J. Gerraty2014-05-101-0/+2
| | | | | | | | Notes: svn path=/projects/bmake/; revision=265802
| * Merge headSimon J. Gerraty2014-04-281-7/+6
| |\ | |/ |/| | | Notes: svn path=/projects/bmake/; revision=265044
| * Updated dependenciesSimon J. Gerraty2013-03-111-0/+1
| | | | | | | | Notes: svn path=/projects/bmake/; revision=248169
| * Updated dependenciesSimon J. Gerraty2013-02-161-2/+0
| | | | | | | | Notes: svn path=/projects/bmake/; revision=246868
| * Sync FreeBSD's bmake branch with Juniper's internal bmake branch.Marcel Moolenaar2012-08-221-0/+19
| | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net> Notes: svn path=/projects/bmake/; revision=239572
* | pathchk: Ensure bytes >= 128 are considered non-portable characters.Jilles Tjoelker2013-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 Notes: svn path=/head/; revision=256800
* pathchk(1): Fix the example so it allows arbitrary pathnames.Jilles Tjoelker2010-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 Notes: svn path=/head/; revision=207485
* pathchk: Add the new POSIX -P option.Jilles Tjoelker2010-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 Notes: svn path=/head/; revision=207483
* Sync program's usage() with manpage's SYNOPSIS.Ruslan Ermilov2005-05-211-1/+1
| | | | Notes: svn path=/head/; revision=146466
* Sort sections.Ruslan Ermilov2005-01-181-2/+2
| | | | Notes: svn path=/head/; revision=140420
* Added the EXIT STATUS section where appropriate.Ruslan Ermilov2005-01-171-1/+1
| | | | Notes: svn path=/head/; revision=140368
* Unbreak support for systems that have no limit on pathname length.Tim J. Robbins2002-12-151-4/+2
| | | | | | | Noticed by: bde Notes: svn path=/head/; revision=107888
* Update pathchk to reflect the fact that 1003.1-2001 now includes theTim J. Robbins2002-12-141-0/+2
| | | | | | | | | trailing null byte in PATH_MAX and _POSIX_PATH_MAX. PR: 46035 Notes: svn path=/head/; revision=107856
* Uniformly refer to a file system as "file system".Ruslan Ermilov2002-12-121-1/+1
| | | | | | | Approved by: re Notes: svn path=/head/; revision=107788
* When stat(2) fails, put the name of the component it failed on in theTim J. Robbins2002-06-101-1/+2
| | | | | | | warning message as well as the path argument. Notes: svn path=/head/; revision=98093
* mdoc(7) police: tidy up the markup.Ruslan Ermilov2002-05-301-12/+9
| | | | Notes: svn path=/head/; revision=97602
* Add the pathchk utility, which checks pathnames for validity orTim J. Robbins2002-05-223-0/+321
portability between POSIX systems. Submitted by: Chuck Rouillard (manpage, initial implementation) Notes: svn path=/head/; revision=97095