FreeBSD Bugzilla – Attachment 2617 Details for
Bug 7835
whereis doesn't find sources in /usr/src/contrib
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 682 bytes, created by
sjr
on 1998-09-05 14:10:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
sjr
Created:
1998-09-05 14:10:00 UTC
Size:
682 bytes
patch
obsolete
>--- usr.bin/whereis.pl Wed Dec 24 09:15:13 1997 >+++ usr.bin/whereis.pl.new Sat Sep 5 08:53:27 1998 >@@ -144,7 +144,7 @@ > "/usr/src/usr.sbin", "/usr/src/libexec", > "/usr/src/gnu/bin", "/usr/src/gnu/usr.bin", > "/usr/src/gnu/sbin", "/usr/src/gnu/usr.sbin", >- "/usr/src/gnu/libexec"); >+ "/usr/src/gnu/libexec", "/usr/src/contrib"); > > # > # if /usr/ports exists, look in all its subdirs, too >@@ -213,7 +213,7 @@ > $found = 0; > $unusual++; > foreach (@sources) { >- $line .= " $_/$name", $unusual--, $found++, last if -d "$_/$name"; >+ $line .= " $_/$name", $unusual--, $found++ if -d "$_/$name"; > } > # > # If not yet found, ask locate(1) to do the search for us.
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 7835
: 2617