From c5f144c8867e0b2b80a843ea9cc3d21f553b7a48 Mon Sep 17 00:00:00 2001 From: kaetemi Date: Fri, 3 Aug 2012 22:50:15 +0200 Subject: [PATCH] Changed: #1440 Don't flush depend logs on every write --HG-- branch : build_pipeline_v3 --- code/nel/include/nel/misc/tool_logger.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/nel/include/nel/misc/tool_logger.h b/code/nel/include/nel/misc/tool_logger.h index 021e6fb0f..566ea4bac 100644 --- a/code/nel/include/nel/misc/tool_logger.h +++ b/code/nel/include/nel/misc/tool_logger.h @@ -103,7 +103,7 @@ public: m_DependLog = fopen(dependLog.c_str(), "wt"); fwrite(s_DependHeader.c_str(), 1, s_DependHeader.length(), m_DependLog); fwrite("\n", 1, 1, m_DependLog); - fflush(m_DependLog); + // fflush(m_DependLog); } void writeError(TError type, const std::string &path, const std::string &error) @@ -153,7 +153,7 @@ public: fwrite("\t", 1, 1, m_DependLog); fwrite(inputFile.c_str(), 1, inputFile.length(), m_DependLog); fwrite("\n", 1, 1, m_DependLog); - fflush(m_DependLog); + // fflush(m_DependLog); } }