From c4d12c3f6424e801ccddda8894aad04d24333f82 Mon Sep 17 00:00:00 2001 From: Herbert Xu Date: Mon, 27 Oct 2014 15:39:39 +0800 Subject: [INPUT] Replace open-coded flushall in preadbuffer Signed-off-by: Herbert Xu --- src/input.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src') diff --git a/src/input.c b/src/input.c index 9e533a4..f11ac84 100644 --- a/src/input.c +++ b/src/input.c @@ -245,10 +245,7 @@ preadbuffer(void) } if (unlikely(parsenleft == EOF_NLEFT || parsefile->buf == NULL)) return PEOF; - flushout(&output); -#ifdef FLUSHERR - flushout(&errout); -#endif + flushall(); more = parselleft; if (more <= 0) { -- cgit 1.4.1