diff options
author | Jan Holesovsky <kendy@collabora.com> | 2014-05-05 18:32:49 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2014-05-06 03:07:49 +0200 |
commit | 68e5207306dad9ce4cdf95283f4b2c5e32f131e2 (patch) | |
tree | f0687708d5574c3773324e217752b0ba053e9a03 /sal/osl/all/log.cxx | |
parent | d09d75167d77adcc8538c5cc5d8fe6bac6091ca1 (diff) |
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
Diffstat (limited to 'sal/osl/all/log.cxx')
-rw-r--r-- | sal/osl/all/log.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sal/osl/all/log.cxx b/sal/osl/all/log.cxx index 056d2a4cd437..aa3105d7b29e 100644 --- a/sal/osl/all/log.cxx +++ b/sal/osl/all/log.cxx @@ -240,6 +240,7 @@ void log( #endif } else { std::fputs(s.str().c_str(), stderr); + std::fflush(stderr); } #endif } |