We need to override the virtual close_fd() in BFile for binary compatibility
(bug #43). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13937 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
fdbc56b338
commit
4b9ec73e99
@ -72,6 +72,7 @@ private:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
int get_fd() const;
|
int get_fd() const;
|
||||||
|
virtual void close_fd();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
//! The file's open mode.
|
//! The file's open mode.
|
||||||
|
@ -507,6 +507,15 @@ BFile::get_fd() const
|
|||||||
return fFd;
|
return fFd;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// close_fd
|
||||||
|
/*! Overrides BNode::close_fd() solely for R5 binary compatibility.
|
||||||
|
*/
|
||||||
|
void
|
||||||
|
BFile::close_fd()
|
||||||
|
{
|
||||||
|
BNode::close_fd();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#ifdef USE_OPENBEOS_NAMESPACE
|
#ifdef USE_OPENBEOS_NAMESPACE
|
||||||
}; // namespace OpenBeOS
|
}; // namespace OpenBeOS
|
||||||
|
Loading…
Reference in New Issue
Block a user