Kaydet (Commit) 68e52073 authored tarafından Jan Holesovsky's avatar Jan Holesovsky

sal logging: Flush after having written the output.

Makes it possible to see the messages immediately on Windows; otherwise the
SAL_DEBUG() etc. is useless as it shows on screen too late.

Change-Id: I701922aa4fcacf66d6b044e0badca7ef1f9cac94
üst d09d7516
...@@ -240,6 +240,7 @@ void log( ...@@ -240,6 +240,7 @@ void log(
#endif #endif
} else { } else {
std::fputs(s.str().c_str(), stderr); std::fputs(s.str().c_str(), stderr);
std::fflush(stderr);
} }
#endif #endif
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment