trunk/branch integration: fix

This commit is contained in:
Marian Krivos 2011-08-22 18:59:22 +00:00
parent 09e2bc4e9c
commit 5e7fa3d066

View File

@ -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);
}
}