diff options
author | jilles <jilles@FreeBSD.org> | 2016-02-21 16:48:37 +0000 |
---|---|---|
committer | jilles <jilles@FreeBSD.org> | 2016-02-21 16:48:37 +0000 |
commit | 7ac5bf14ff211d70f6a8b3b484b0490416424090 (patch) | |
tree | 770e9da80b559f39aec6cc8a0f25f01a261c91b3 /bin | |
parent | 906dc39babe7ef34f69b616b373bd9ae5460b4a4 (diff) | |
download | FreeBSD-src-7ac5bf14ff211d70f6a8b3b484b0490416424090.zip FreeBSD-src-7ac5bf14ff211d70f6a8b3b484b0490416424090.tar.gz |
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).
Diffstat (limited to 'bin')
-rw-r--r-- | bin/sh/input.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/bin/sh/input.c b/bin/sh/input.c index 5921e08..27b835a 100644 --- a/bin/sh/input.c +++ b/bin/sh/input.c @@ -212,8 +212,6 @@ preadbuffer(void) } if (parsenleft == EOF_NLEFT || parsefile->buf == NULL) return PEOF; - flushout(&output); - flushout(&errout); again: if (parselleft <= 0) { |