From owner-cvs-src@FreeBSD.ORG Fri Jun 20 08:39:51 2008 Return-Path: Delivered-To: cvs-src@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E52881065670; Fri, 20 Jun 2008 08:39:51 +0000 (UTC) (envelope-from joerg@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id D11B98FC18; Fri, 20 Jun 2008 08:39:51 +0000 (UTC) (envelope-from joerg@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m5K8dp5I063577; Fri, 20 Jun 2008 08:39:51 GMT (envelope-from joerg@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m5K8dp1c063576; Fri, 20 Jun 2008 08:39:51 GMT (envelope-from joerg@repoman.freebsd.org) Message-Id: <200806200839.m5K8dp1c063576@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to joerg@repoman.freebsd.org using -f From: Joerg Wunsch Date: Fri, 20 Jun 2008 08:39:42 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/usr.bin/whereis whereis.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 20 Jun 2008 08:39:52 -0000 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