* Improved reported inode number to the be actual index.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27444 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -2613,9 +2613,9 @@ AttributeIterator::GetNext(char* name, size_t* _length, uint32* _type,
|
|||||||
strncpy(name, item->Name(), B_FILE_NAME_LENGTH);
|
strncpy(name, item->Name(), B_FILE_NAME_LENGTH);
|
||||||
*_type = item->Type();
|
*_type = item->Type();
|
||||||
*_length = item->NameSize();
|
*_length = item->NameSize();
|
||||||
*_id = (ino_t)fCurrentSmallData;
|
*_id = (ino_t)index;
|
||||||
|
|
||||||
fCurrentSmallData = index;
|
fCurrentSmallData = index + 1;
|
||||||
return B_OK;
|
return B_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user