Joerg Wunsch wrote:
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.
While your at it, what about .svn dirs .... I guess thats covered by 'dot' entries.


|                       if (dirp->d_name[0] == '.' ||
| -                         strcmp(dirp->d_name, "CVS") == 0)
| -                             /* ignore dot entries and CVS subdir */


--
------------------------------------------------------------------------
Philip M. Gollucci ([EMAIL PROTECTED])
o:703.549.2050x206
Senior System Admin - Riderway, Inc.
http://riderway.com / http://ridecharge.com
1024D/DB9B8C1C B90B FBC3 A3A1 C71A 8E70  3F8C 75B8 8FFB DB9B 8C1C

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.

_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to