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:
parent
f445ccbdc9
commit
8625859773
|
@ -105,6 +105,7 @@ static void tock_tlp_output (Workspace wptr) {
|
|||
case 1: {
|
||||
bool b;
|
||||
ChanIn (wptr, kill, &b, sizeof b);
|
||||
fflush (out);
|
||||
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user