summaryrefslogtreecommitdiff
path: root/usr.bin/which/which.c
AgeCommit message (Expand)Author
2024-04-05which: Use size_t instead of ssize_t for pathlenCollin Funk
2023-08-16Remove $FreeBSD$: two-line .c patternWarner Losh
2017-11-27various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni
2017-04-19which(1): sort #includesEnji Cooper
2017-04-19Clean up trailing whitespaceEnji Cooper
2011-11-06Mark global functions and/or variables in which(1) static where possible.Ed Schouten
2005-02-10Require at least one argument.Ruslan Ermilov
2002-06-30Handle relative and absolute pathnames (anything with a `/' in it) in the sameTim J. Robbins
2002-06-30Treat empty PATH elements as "." for tradition and consistency with theTim J. Robbins
2002-03-09Off by one error in checking max file name length.Wolfram Schneider
2001-12-11Use FBSDID(), WARNS=2 fix.Mark Murray
2000-08-29Use a C version of which(1).Brian Feldman