summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen2000-09-05 22:17:22 +0000
committerEric Andersen2000-09-05 22:17:22 +0000
commitebee301c8b0bfe62cd2ec47f458b7f8710d8f407 (patch)
tree1e70c323fa2d907d9ad6b04e7dc2011d43ce77a8
parentd13ebff16397923863ef5601e41c0e95feb42732 (diff)
downloadbusybox-ebee301c8b0bfe62cd2ec47f458b7f8710d8f407.zip
busybox-ebee301c8b0bfe62cd2ec47f458b7f8710d8f407.tar.gz
Fixed for when BB_CP_MV is enabled.
-rw-r--r--utility.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/utility.c b/utility.c
index 5bf849e..8bed97c 100644
--- a/utility.c
+++ b/utility.c
@@ -264,7 +264,7 @@ int isDirectory(const char *fileName, const int followLinks, struct stat *statBu
}
#endif
-#if defined (BB_AR)
+#if defined (BB_AR) || defined BB_CP_MV
/*
* Copy readSize bytes between two file descriptors
*/
@@ -535,7 +535,7 @@ int fullWrite(int fd, const char *buf, int len)
#endif /* BB_TAR || BB_CP_MV || BB_AR */
-#if defined BB_TAR || defined BB_TAIL || defined BB_AR || defined BB_SH
+#if defined BB_TAR || defined BB_TAIL || defined BB_AR || defined BB_SH || defined BB_CP_MV
/*
* Read all of the supplied buffer from a file.
* This does multiple reads as necessary.