aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/which/which.c
Commit message (Collapse)AuthorAgeFilesLines
* Handle relative and absolute pathnames (anything with a `/' in it) in the sameTim J. Robbins2002-06-301-1/+1
| | | | | | | | | way as execve(2), and the old perl which(1). PR: 35718 Notes: svn path=/head/; revision=99120
* Treat empty PATH elements as "." for tradition and consistency with theTim J. Robbins2002-06-301-1/+3
| | | | | | | | | old Perl which(1) script. PR: 35719 Notes: svn path=/head/; revision=99118
* Off by one error in checking max file name length.Wolfram Schneider2002-03-091-1/+1
| | | | Notes: svn path=/head/; revision=91945
* Use FBSDID(), WARNS=2 fix.Mark Murray2001-12-111-3/+5
| | | | | | | Mkaefile does not use WARNS=2 beacuse this will be made default. Notes: svn path=/head/; revision=87678
* Use a C version of which(1).Brian Feldman2000-08-291-0/+145
Submitted by: Dan Papasian <bugg@bugg.strangled.net> Reviewed by: jhb Notes: svn path=/head/; revision=65226