public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fc379ad
)
mv: use a large copy buffer
author
Alan Cox
<alan@linux.intel.com>
Sat, 21 Jul 2018 18:08:00 +0000
(19:08 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Sat, 21 Jul 2018 18:08:00 +0000
(19:08 +0100)
Applications/util/mv.c
patch
|
blob
|
history
diff --git
a/Applications/util/mv.c
b/Applications/util/mv.c
index
7d09572
..
4ea6293
100644
(file)
--- 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)