#
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
|
#
228991 |
|
30-Dec-2011 |
uqs |
Reencode files from latin1 to UTF-8.
This makes a tiny percentage of entries in calendars ugly for latin1 users, but fixes them for UTF-8 users.
This badly needs a solution involving locale-dependent re-encoding.
|
#
227244 |
|
06-Nov-2011 |
ed |
Mark global functions and/or variables in whereis(1) static where possible.
This allows compilers and static analyzers to more thorough analysis.
|
#
179888 |
|
20-Jun-2008 |
joerg |
Make the search for sources in PATH_PORTS more accurate. I only noticed that a "whereis -qs qemu" matched the distfiles subdir of qemu rather than /usr/ports/emulators/qemu.
It now ignores all dot entries in /usr/ports, plus all entries starting with a capital letter (maintenance stuff like Templates, but also includes subdir CVS), plus /usr/ports/distfiles which is simply a magic name in that respect.
|
#
144840 |
|
09-Apr-2005 |
stefanf |
Remove unused variables.
|
#
141657 |
|
10-Feb-2005 |
ru |
Fixed usage().
|
#
132198 |
|
15-Jul-2004 |
tjr |
Respect locale settings from the environment.
|
#
102246 |
|
21-Aug-2002 |
johan |
Add the -a option to report all matches instead of only the first of each requested type.
Approved by: joerg, sheldonh (mentor)
|
#
102072 |
|
18-Aug-2002 |
johan |
Correctly handle empty path arguments, e.g., whereis -S -f biff.
Approved by: joerg, sheldonh (mentor)
|
#
100691 |
|
25-Jul-2002 |
johan |
Define all paths in pathnames.h
Approved by: joerg, sheldonh (mentor)
|
#
100608 |
|
24-Jul-2002 |
johan |
Teach whereis(1) about games.
Approved by: joerg, sheldonh (mentor)
|
#
99821 |
|
11-Jul-2002 |
joerg |
Complete rewrite, once again.
This is basically a ``C compilation'' of the former whereis.pl file, employing the same algorithms, and aiming at being mostly UI-compatible to the old (legally tainted) 4.3BSD whereis(1). In comparision, the 4.4BSD-Lite version is just another variant of which(1) only, where in particular the option to search for source directories is sorely missing.
While i was at it, i added two more options which i contemplated doing long since. -x will suppress the run of locate(1) to find sources that could not be found otherwise, potentially saving a lot of time (but obviously, risking to not find some sources that are well hidden in the tree). -q will omit the leading name of the query, so in particular, you can now do something like:
cd `whereis -qs ls`
I'd explicitly like to thank johan for his review which was quite a bit more than an average review, including sending me a lot of diffs.
Reviewed by: johan
|
#
99406 |
|
04-Jul-2002 |
johan |
Restore copyright and RCSID. Remove duplicate $FreeBSD$, $NetBSD$.
Submitted by: mike Approved by: sheldonh (mentor)
|
#
99377 |
|
03-Jul-2002 |
johan |
compact synopsis s/program [program ...]/program .../ s/program [...]/program .../
Approved by: sheldonh (mentor)
|
#
99376 |
|
03-Jul-2002 |
johan |
Remove -p flag. OpenBSD's implementation lacks -p, and we don't want to support the option now, only to lose it if/when we later switch to OpenBSD's implementation. This functionality is provided by which(1).
Approved by: sheldonh (mentor)
|
#
99375 |
|
03-Jul-2002 |
johan |
Add __FBSDID. Remove __COPYRIGHT, __RCSID which caused an assembler warning.
Approved by: sheldonh (mentor)
|
#
99373 |
|
03-Jul-2002 |
johan |
Change to NetBSDs version of whereis.
Approved by: sheldonh (mentor) Obtained from: NetBSD
|