parent
be856b940f
commit
bea7c49aad
@ -535,6 +535,9 @@ stdoutproc(void *v)
|
|||||||
}
|
}
|
||||||
if(fswrite(dfd, buf, n) != n)
|
if(fswrite(dfd, buf, n) != n)
|
||||||
error("stdout writing body");
|
error("stdout writing body");
|
||||||
|
/* Make sure acme scrolls to the end of the above write. */
|
||||||
|
if(fswrite(dfd, nil, 0) != 0)
|
||||||
|
error("stdout flushing body");
|
||||||
q.p += nrunes(buf, n);
|
q.p += nrunes(buf, n);
|
||||||
qunlock(&q.lk);
|
qunlock(&q.lk);
|
||||||
memmove(buf, hold, npart);
|
memmove(buf, hold, npart);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user