This fix allows search to be somewhat functional when the indexes 
expected aren't present (like on the CD for example).

I'd like help with what message should be displayed to the user, as I'm 
not sure whether we want to get into locking down 30-40 MB of RAM in the 
message or not.

The change is a combination of Danek's old code to walk the directory 
and the new code to appropriately use the search dictionaries.

Here's the CR
http://cr.opensolaris.org/~bpytlik/ips-2797/

I've tested it on my desktop, and I'll added testsuite tests if people 
feel that's needed.
(To test it on your machine, simply move your image's var/pkg/index to 
var/pkg/index-bak and try pkg search).

Thanks,
Brock
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to