From 3b3c9ccf082864d7eacec9ccfb98603edbf93b5e Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Sun, 21 Feb 2016 16:48:37 +0000 Subject: [PATCH] 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). --- bin/sh/input.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/bin/sh/input.c b/bin/sh/input.c index 5921e082da09..27b835a55b84 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) {