mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-27 11:06:50 +01:00
trunk/branch integration: fix
This commit is contained in:
@@ -67,7 +67,10 @@ void FileIOS::open(const std::string& path, std::ios::openmode mode)
|
|||||||
|
|
||||||
void FileIOS::close()
|
void FileIOS::close()
|
||||||
{
|
{
|
||||||
_buf.close();
|
if (!_buf.close())
|
||||||
|
{
|
||||||
|
setstate(ios_base::badbit);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user