From aed3157417a12d2892afd103708e4b74852a2acb Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Sat, 21 Jul 2018 19:08:00 +0100 Subject: [PATCH] mv: use a large copy buffer --- Applications/util/mv.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Applications/util/mv.c b/Applications/util/mv.c index 7d095723..4ea62933 100644 --- a/Applications/util/mv.c +++ b/Applications/util/mv.c @@ -25,7 +25,8 @@ typedef unsigned char BOOL; BOOL intflag; /* Don't bother with malloc. We don't want to blow up with no space errors */ -#define BUF_SIZE 512 +/* Don't go over 16384 until we fix the pipe bug */ +#define BUF_SIZE 16384 static char buffer[BUF_SIZE]; static void writes(int fd, const char *p) -- 2.34.1