Make stdout unbuffered, so that if stderr==stdout, lines match up.
This commit is contained in:
parent
b1aea5d077
commit
eceb3bccf8
1 changed files with 2 additions and 0 deletions
|
@ -79,6 +79,8 @@ int main(int argc, char *argv[])
|
|||
int c;
|
||||
int i;
|
||||
|
||||
setvbuf(stdout,NULL,_IONBF,0);
|
||||
|
||||
while (1) {
|
||||
c = getopt(argc, argv, "f:rs:t:v");
|
||||
if (c == -1)
|
||||
|
|
Loading…
Add table
Reference in a new issue