From: Alan Cox Date: Sat, 21 Jul 2018 18:08:00 +0000 (+0100) Subject: mv: use a large copy buffer X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=aed3157417a12d2892afd103708e4b74852a2acb;p=FUZIX.git mv: use a large copy buffer --- 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)