From 2a1f89e5d941a77e8c93ad0a5fe78229a4207d61 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Tue, 16 Apr 2019 16:53:27 -0500 Subject: Add argument to xflush() so it can test for stdout err without flushing. --- toys/posix/head.c | 1 - 1 file changed, 1 deletion(-) (limited to 'toys/posix/head.c') diff --git a/toys/posix/head.c b/toys/posix/head.c index 7e34a714..38ab919e 100644 --- a/toys/posix/head.c +++ b/toys/posix/head.c @@ -40,7 +40,6 @@ static void do_head(int fd, char *name) // Print an extra newline for all but the first file if (TT.file_no) xprintf("\n"); xprintf("==> %s <==\n", name); - xflush(); } while ((toys.optflags&FLAG_c) ? bytes : lines) { -- cgit v1.2.3