summaryrefslogtreecommitdiffstats
path: root/usr.bin/which/which.c
Commit message (Collapse)AuthorAgeFilesLines
* Mark global functions and/or variables in which(1) static where possible.ed2011-11-061-2/+2
| | | | This allows compilers and static analyzers to more thorough analysis.
* Require at least one argument.ru2005-02-101-8/+5
|
* Handle relative and absolute pathnames (anything with a `/' in it) in the sametjr2002-06-301-1/+1
| | | | | | way as execve(2), and the old perl which(1). PR: 35718
* Treat empty PATH elements as "." for tradition and consistency with thetjr2002-06-301-1/+3
| | | | | | old Perl which(1) script. PR: 35719
* Off by one error in checking max file name length.wosch2002-03-091-1/+1
|
* Use FBSDID(), WARNS=2 fix.markm2001-12-111-3/+5
| | | | Mkaefile does not use WARNS=2 beacuse this will be made default.
* Use a C version of which(1).green2000-08-291-0/+145
Submitted by: Dan Papasian <bugg@bugg.strangled.net> Reviewed by: jhb
OpenPOWER on IntegriCloud