* This should fix #4760.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33517 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1565,7 +1565,12 @@ Query::GetNextEntry(struct dirent* dirent, size_t size)
|
|||||||
|
|
||||||
status_t status = fCurrent->PrepareQuery(fVolume, fIndex,
|
status_t status = fCurrent->PrepareQuery(fVolume, fIndex,
|
||||||
&fIterator, fFlags & B_QUERY_NON_INDEXED);
|
&fIterator, fFlags & B_QUERY_NON_INDEXED);
|
||||||
if (status != B_OK && status != B_ENTRY_NOT_FOUND)
|
if (status == B_ENTRY_NOT_FOUND) {
|
||||||
|
// try next equation
|
||||||
|
continue;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (status != B_OK)
|
||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
if (fCurrent == NULL)
|
if (fCurrent == NULL)
|
||||||
|
|||||||
Reference in New Issue
Block a user