aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/which/which.c
Commit message (Expand)AuthorAgeFilesLines
* which: Use size_t instead of ssize_t for pathlenCollin Funk2024-04-051-1/+1
* Remove $FreeBSD$: two-line .c patternWarner Losh2023-08-161-3/+0
* various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni2017-11-271-1/+3
* which(1): sort #includesEnji Cooper2017-04-191-2/+1
* Clean up trailing whitespaceEnji Cooper2017-04-191-2/+2
* Mark global functions and/or variables in which(1) static where possible.Ed Schouten2011-11-061-2/+2
* Require at least one argument.Ruslan Ermilov2005-02-101-8/+5
* Handle relative and absolute pathnames (anything with a `/' in it) in the sameTim J. Robbins2002-06-301-1/+1
* Treat empty PATH elements as "." for tradition and consistency with theTim J. Robbins2002-06-301-1/+3
* Off by one error in checking max file name length.Wolfram Schneider2002-03-091-1/+1
* Use FBSDID(), WARNS=2 fix.Mark Murray2001-12-111-3/+5
* Use a C version of which(1).Brian Feldman2000-08-291-0/+145