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