summaryrefslogtreecommitdiff
path: root/usr.bin/which
AgeCommit message (Expand)Author
2016-10-28Delete some useless setlocale(3) calls in /usr/bin, no functional change.Ingo Schwarze
2016-05-26Use "cc -E" instead of "cpp". OK deraadt@ natano@Todd C. Miller
2016-01-14Check the return value of snprintf() for potential overflow insteadTodd C. Miller
2016-01-14Avoid potential read of one byte before the start of a malloc()edTodd C. Miller
2016-01-14Use _PATH_DEFPATH if no PATH in the environment when invoked as which.Todd C. Miller
2015-12-29fix exit status on pledge(2) failure.Gleydson Soares
2015-10-10pledge "stdio rpath"Theo de Raadt
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-08-14no longer any need to quote macro lines with >9 args;Jason McIntyre
2013-04-15Tweak check rule to match change to the manpage formattingPhilip Guenther
2013-04-15tweak previous;Jason McIntyre
2013-04-13My clever "expand _PATH_STDPATH in whereis.1" logic broke the build ifPhilip Guenther
2013-04-10Get the standard path from _PATH_STDPATH instead ofPhilip Guenther
2012-01-29.Ar tweak. ok jmc@ schwarze@.lum
2011-10-09add a little vertical spacing to previous; ok schwarzeJason McIntyre
2011-10-09Correct the history of apropos(1), whatis(1) and whereis(1): TheseIngo Schwarze
2011-03-11The -a option shouldn't change the exit statusPhilip Guenthe
2010-09-29various EXIT STATUS fixes; from Daniel DickmanJason McIntyre
2010-09-03add an EXIT STATUS section for /usr/bin;Jason McIntyre
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
2009-03-21a paragraph break (.Pp macro) is not required before or after section headers.Igor Sobrado
2009-01-06i saw the previous was wrong as soon as i committed it: put theJason McIntyre
2009-01-06document, consistently, those apps which also exist as built-insJason McIntyre
2007-08-14the ellipsis is not an optional argument; document the "-a" flag in whereis(1)Igor Sobrado
2007-05-31convert to new .Dd format;Jason McIntyre
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-10- section reorderJason McIntyre
2003-06-03Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
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
2000-03-14Finish off cleanup usr.bin/ man pages.Aaron Campbell
2000-03-06Some section re-ordering.Aaron Campbell
1999-10-07Some Xr to find(1), locate(1), whatis(1), whereis(1), which(1), etc., asAaron Campbell
1999-09-23Typo fixes.Alex Feldman
1999-06-05- remove trailing white spaceAaron Campbell
1999-05-12grammar police: do not hyphenate compound words that act as adjectives if theAaron Campbell
1998-10-30usr.bin/ man page fixes, t-zAaron Campbell
1998-06-21Remove the advertising clause in my old license, it impedes free useTodd C. Miller
1998-06-15use Bx macro for BSD versionsMichael Shalayeff
1998-05-13fix .Sh ENVIRONMENTTheo de Raadt
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