Added a "nooutbuf" cmdline param.
This forces that the stdout stream uses no buffer, even when not a TTY. Used for running MCServer under ZeroBraneStudio.
This commit is contained in:
@@ -42,7 +42,7 @@ cLog::~cLog()
|
||||
|
||||
|
||||
|
||||
cLog* cLog::GetInstance()
|
||||
cLog * cLog::GetInstance()
|
||||
{
|
||||
if (s_Log != NULL)
|
||||
{
|
||||
@@ -92,7 +92,7 @@ void cLog::ClearLog()
|
||||
if( m_File )
|
||||
fclose (m_File);
|
||||
#endif
|
||||
m_File = 0;
|
||||
m_File = NULL;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user