[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 208854] run tag shows one output whereas konsole output shows
From:       <stompdagger1 () yahoo ! com>
Date:       2009-09-29 18:14:17
Message-ID: 20090929181418.6108B21E07 () immanuel ! kde ! org
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=208854





--- Comment #3 from  <stompdagger1 yahoo com>  2009-09-29 20:14:15 ---
(In reply to comment #2)
> This is not  a bug in KDevelop, but a  bug in your application. We display any
> output we receive, but we can receive the output only once the output buffer is
> flushed. If you use printf() you're using stdout which is always buffered, so
> you have to use fflush(stdout) after printf() to make sure the output is really
> written out. Or you switch to stderr-printing, which is usually unbuffered. A
> terminal works a bit differently, thats why it doesn't happen there. You'd see
> the same thing when looking at the output via <yourapp>|less.
boost output is out of my hands. afaik, ending the printf line with \n flushs
the buffer.
if you say it isn't a bug, then ok, you're the boss but it will be hard to
debug what you can't see...

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic