Flushing stdout after each result text to deconfuse stdout/stderr with SSH

This commit is contained in:
Thomas Schmitt 2008-07-03 13:29:44 +00:00
parent 4eb4567bcc
commit c9f3aefcf7
2 changed files with 4 additions and 2 deletions

View File

@ -765,8 +765,10 @@ bit15= with bit1 or bit2: close depicted log file
if(flag&(2|4))
return(1);
if(flag&1) {
if(channel_no==1 || channel_no==3)
if(channel_no==1 || channel_no==3) {
printf("%s",text);
fflush(stdout);
}
if(channel_no==2 || channel_no==3)
fprintf(stderr,"%s",text);
if(logfile_fp[channel_no]!=NULL) {

View File

@ -1 +1 @@
#define Xorriso_timestamP "2008.06.27.130235"
#define Xorriso_timestamP "2008.07.03.133023"