Commit 085d49d3 authored by deuce's avatar deuce
Browse files

Switch back to fwrite() we need that buffer!

parent 07a33ff3
......@@ -3003,7 +3003,7 @@ keep_going:
}
}
if(write(STDOUT_FILENO, &btToSend, 1)!=1)
if(fwrite(&btToSend,1,1,stdout)!=1)
return(kODRCGeneralFailure);
break;
}
......@@ -3487,7 +3487,7 @@ try_again:
return(kODRCGeneralFailure);
}
retval=write(STDOUT_FILENO, pbtBuffer+pos,1);
retval=fwrite(pbtBuffer+pos,1,nSize-pos,stdout);
if(retval!=nSize-pos) {
od_sleep(1);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment