Flush output when the C backend exits.

This makes "someprog | cat" work -- previously the output never got written.
The C++ support code already does this.
This commit is contained in:
Adam Sampson 2008-04-08 15:12:24 +00:00
parent f445ccbdc9
commit 8625859773

View File

@ -105,6 +105,7 @@ static void tock_tlp_output (Workspace wptr) {
case 1: {
bool b;
ChanIn (wptr, kill, &b, sizeof b);
fflush (out);
return;
}