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:
Jilles Tjoelker 2016-02-21 16:48:37 +00:00
parent 99c006f9ba
commit 3b3c9ccf08
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=295862

View File

@ -212,8 +212,6 @@ preadbuffer(void)
}
if (parsenleft == EOF_NLEFT || parsefile->buf == NULL)
return PEOF;
flushout(&output);
flushout(&errout);
again:
if (parselleft <= 0) {