Commit Graph

6 Commits

Author SHA1 Message Date
Ruslan Ermilov
b7a311f2b8 Require at least one argument. 2005-02-10 16:04:22 +00:00
Tim J. Robbins
721da592c4 Handle relative and absolute pathnames (anything with a `/' in it) in the same
way as execve(2), and the old perl which(1).

PR:		35718
2002-06-30 06:02:39 +00:00
Tim J. Robbins
8c821782f8 Treat empty PATH elements as "." for tradition and consistency with the
old Perl which(1) script.

PR:		35719
2002-06-30 05:48:50 +00:00
Wolfram Schneider
f2c819bf2b Off by one error in checking max file name length. 2002-03-09 15:30:42 +00:00
Mark Murray
1c6cde4bb5 Use FBSDID(), WARNS=2 fix.
Mkaefile does not use WARNS=2 beacuse this will be made default.
2001-12-11 22:27:26 +00:00
Brian Feldman
cc70d84c4a Use a C version of which(1).
Submitted by:	Dan Papasian <bugg@bugg.strangled.net>
Reviewed by:	jhb
2000-08-29 23:30:52 +00:00