sh: Remove unnecessary flushouts while reading script.
Output is flushed when a builtin is done or immediately after writing it (error messages, set -v output, prompts).
This commit is contained in:
parent
99c006f9ba
commit
3b3c9ccf08
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=295862
@ -212,8 +212,6 @@ preadbuffer(void)
|
|||||||
}
|
}
|
||||||
if (parsenleft == EOF_NLEFT || parsefile->buf == NULL)
|
if (parsenleft == EOF_NLEFT || parsefile->buf == NULL)
|
||||||
return PEOF;
|
return PEOF;
|
||||||
flushout(&output);
|
|
||||||
flushout(&errout);
|
|
||||||
|
|
||||||
again:
|
again:
|
||||||
if (parselleft <= 0) {
|
if (parselleft <= 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user