* We must not sort the cached inodes, or else we mess up the order for

CanOpenWithFilter().
* This fixes bug #2795.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27870 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2008-10-04 20:33:20 +00:00
parent f28ab87b68
commit d881bedfc0

View File

@ -1249,7 +1249,9 @@ SearchForSignatureEntryList::Rewind()
return ENOENT;
// build up the iterator
fIteratorList = new CachedEntryIteratorList;
fIteratorList = new CachedEntryIteratorList(false);
// We cannot sort the cached inodes, as CanOpenWithFilter() relies
// on the fact that ConditionalAllAppsIterator results come last.
// build the predicate string by oring queries for the individual
// signatures