fstat() now fills in the inode number as well.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@7993 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -113,6 +113,13 @@ Node::Size() const
|
||||
}
|
||||
|
||||
|
||||
ino_t
|
||||
Node::Inode() const
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
status_t
|
||||
Node::Acquire()
|
||||
{
|
||||
@@ -247,6 +254,7 @@ Descriptor::Stat(struct stat &stat)
|
||||
{
|
||||
stat.st_mode = fNode->Type();
|
||||
stat.st_size = fNode->Size();
|
||||
stat.st_ino = fNode->Inode();
|
||||
|
||||
return B_OK;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user