History log of /freebsd-10.1-release/usr.bin/which/which.c
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
# 272461 02-Oct-2014 gjb

Copy stable/10@r272459 to releng/10.1 as part of
the 10.1-RELEASE process.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation

# 256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


# 227245 06-Nov-2011 ed

Mark global functions and/or variables in which(1) static where possible.

This allows compilers and static analyzers to more thorough analysis.


# 141656 10-Feb-2005 ru

Require at least one argument.


# 99120 30-Jun-2002 tjr

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


# 99118 30-Jun-2002 tjr

Treat empty PATH elements as "." for tradition and consistency with the
old Perl which(1) script.

PR: 35719


# 91945 09-Mar-2002 wosch

Off by one error in checking max file name length.


# 87678 11-Dec-2001 markm

Use FBSDID(), WARNS=2 fix.

Mkaefile does not use WARNS=2 beacuse this will be made default.


# 65226 29-Aug-2000 green

Use a C version of which(1).

Submitted by: Dan Papasian <bugg@bugg.strangled.net>
Reviewed by: jhb