Portability updates by Bernie Bright.

This commit is contained in:
curt
1999-01-19 20:53:34 +00:00
parent 8aec98017a
commit 23fbd5919f
2 changed files with 26 additions and 4 deletions

View File

@@ -37,14 +37,14 @@ logbuf::logbuf()
logbuf::~logbuf()
{
if ( sbuf )
sbuf->sync();
sync();
}
void
logbuf::set_sb( streambuf* sb )
{
if ( sbuf )
sbuf->sync();
sync();
sbuf = sb;
}
@@ -63,6 +63,9 @@ logstream::setLogLevels( fgDebugClass c, fgDebugPriority p )
}
// $Log$
// Revision 1.2 1999/01/19 20:53:34 curt
// Portability updates by Bernie Bright.
//
// Revision 1.1 1998/11/06 21:20:41 curt
// Initial revision.
//