summaryrefslogtreecommitdiff
path: root/usr.bin/which/which.c
AgeCommit message (Collapse)Author
2003-06-17Sync with share/misc/license.template and add missing DARPA creditTodd C. Miller
where applicable.
2003-06-10mostly ansi cleanup; pval okTheo de Raadt
2003-06-03Use an ISC-tyle license for all my code; it is simpler and more permissive.Todd C. Miller
2003-04-04snprintf() is simpler than multiple strlcpy() and manual fiddling.Todd C. Miller
Also convert to C89 while I'm at it.
2003-04-04snprintf & strlcpy; tedu okTheo de Raadt
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
1998-06-21Remove the advertising clause in my old license, it impedes free useTodd C. Miller
of the code as a large number of similar clauses makes it impossible to write an ad for a product using the code...
1998-05-07fix err() useTheo de Raadt
1998-01-28Add -a flag. Idea from bgrayson@ece.utexas.eduTodd C. Miller
1997-04-08which(1) and whereis(1) are now the same program (hard linked).Todd C. Miller
1997-02-21which(1) is now a binary that works in any shell since csh(1) has aTodd C. Miller
which built-in.