classes/CRedirect.cpp
void CRedirect::restore()
    {
        if (m_outputBuffer)
        {
            m_savedStream->rdbuf(m_outputBuffer);
        }
        if (m_newFileStream)
        {
            m_newFileStream->close();
        }
        if (m_savedStdOutErr)
        {
            fclose(m_savedStdOutErr);
        }
    }
//
// Restore old output stream. Note that this will currently do nothing  for
// stdout/stderr (except close) as a dependable way of doing this hasn't
// been found yet.
//

Restore old output stream. Note that this will currently do nothing  for
stdout/stderr (except close) as a dependable way of doing this hasn't
been found yet.
Restore old output stream . Note that this will currently do nothing for stdout / stderr ( except close ) as a dependable way of doing this hasn ' t been found yet .
void CRedirect::restore()
    {
        if (m_outputBuffer)
        {
            m_savedStream->rdbuf(m_outputBuffer);
        }
        if (m_newFileStream)
        {
            m_newFileStream->close();
        }
        if (m_savedStdOutErr)
        {
            fclose(m_savedStdOutErr);
        }
    }
void CRedirect :: restore ( ) { if ( m_outputBuffer ) { m_savedStream -> rdbuf ( m_outputBuffer ) ; } if ( m_newFileStream ) { m_newFileStream -> close ( ) ; } if ( m_savedStdOutErr ) { fclose ( m_savedStdOutErr ) ; } }
Restore old output stream.
Restore old output stream .