[prev in list] [next in list] [prev in thread] [next in thread]
List: kdevelop-bugs
Subject: [Bug 159749] New: stdout/stderr output is out of sync
From: bernd buschinski <b.buschinski () web ! de>
Date: 2008-03-23 16:33:58
Message-ID: 20080323173356.159749.b.buschinski () web ! de
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=159749
Summary: stdout/stderr output is out of sync
Product: kdevelop
Version: unspecified
Platform: Gentoo Packages
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: NOR
Component: general
AssignedTo: kdevelop-bugs kdevelop org
ReportedBy: b.buschinski web de
Version: 3.5.1-svn (using KDE 3.5.9)
Installed from: Gentoo Packages
Compiler: gcc-4.2.2
OS: Linux
I wrote a app that mixes stdout stderr ouput
#include <stdio.h>
int main(int argc, char *argv[])
{
fprintf(stdout,"%s:%d:%s %s\n",__FILE__,__LINE__,__func__,"1");
fprintf(stdout,"%s:%d:%s %s\n",__FILE__,__LINE__,__func__,"2");
fprintf(stderr,"%s:%d:%s %s\n",__FILE__,__LINE__,__func__,"3");
fprintf(stdout,"%s:%d:%s %s\n",__FILE__,__LINE__,__func__,"4");
fprintf(stderr,"%s:%d:%s %s\n",__FILE__,__LINE__,__func__,"5");
fprintf(stdout,"\n\n\n");
fprintf(stdout,"%s\n","1");
fprintf(stdout,"%s\n","2");
fprintf(stderr,"%s\n","3");
fprintf(stdout,"%s\n","4");
fprintf(stderr,"%s\n","5");
}
and the output on the widget is mixed, sometimes first all stdout then stderr and the \
opposite, while the output on the konsole is ok
_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic