V2 llcommon merge
This commit is contained in:
@@ -324,7 +324,12 @@ void llofstream::close()
|
||||
if(is_open())
|
||||
{
|
||||
if (_Filebuffer->close() == 0)
|
||||
{
|
||||
_Myios::setstate(ios_base::failbit); /*Flawfinder: ignore*/
|
||||
}
|
||||
delete _Filebuffer;
|
||||
_Filebuffer = NULL;
|
||||
_ShouldClose = false;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user