summaryrefslogtreecommitdiff
path: root/usr.bin/which/which.c
AgeCommit message (Expand)Author
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-05-20Use errc/warnc to simplify code.Philip Guenther
2013-04-10Get the standard path from _PATH_STDPATH instead ofPhilip Guenther
2011-03-11The -a option shouldn't change the exit statusPhilip Guenthe
2010-05-31stderr should be used for error messages; this diff makes which(1)Igor Sobrado
2009-10-28rcsid[] and sccsid[] and copyright[] are essentially unmaintained (andTheo de Raadt
2007-08-14the ellipsis is not an optional argument; document the "-a" flag in whereis(1)Igor Sobrado
2004-09-24save a copy of the pointer before strsep; fixes an abort on free.Federico G. Schwindt
2004-09-23Add missing free on error; Alison WintersTodd C. Miller
2003-06-17Sync with share/misc/license.template and add missing DARPA creditTodd C. Miller
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
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
1998-06-21Remove the advertising clause in my old license, it impedes free useTodd C. Miller
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