Date: Fri, 20 Jun 2008 08:39:42 +0000 (UTC) From: Joerg Wunsch <joerg@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/usr.bin/whereis whereis.c Message-ID: <200806200839.m5K8dp1c063576@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
joerg 2008-06-20 08:39:42 UTC
FreeBSD src repository
Modified files:
usr.bin/whereis whereis.c
Log:
SVN rev 179888 on 2008-06-20 08:39:42Z by 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.
Revision Changes Path
1.16 +21 -2 src/usr.bin/whereis/whereis.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200806200839.m5K8dp1c063576>
