The AttributeIterator was returning the size of the attribute data rather than
the length of the attribute name in GetNext() for attributes that are actual inodes. Found by Robert Szeleney, thanks! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@21674 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
9a766e16a7
commit
85b65f7585
|
@ -2536,7 +2536,7 @@ AttributeIterator::GetNext(char *name, size_t *_length, uint32 *_type,
|
|||
Inode *attribute;
|
||||
if ((status = vnode.Get(&attribute)) == B_OK) {
|
||||
*_type = attribute->Type();
|
||||
*_length = attribute->Size();
|
||||
*_length = length;
|
||||
*_id = id;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue