aboutsummaryrefslogtreecommitdiff
path: root/coreutils/mv.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-03-15 08:29:22 +0000
committerEric Andersen <andersen@codepoet.org>2004-03-15 08:29:22 +0000
commitc7bda1ce659294d6e22c06e087f6f265983c7578 (patch)
tree4c6d2217f4d8306c59cf1096f8664e1cfd167213 /coreutils/mv.c
parent8854004b41065b3d081af7f3df13a100b0c8bfbe (diff)
downloadbusybox-c7bda1ce659294d6e22c06e087f6f265983c7578.tar.gz
Remove trailing whitespace. Update copyright to include 2004.
Diffstat (limited to 'coreutils/mv.c')
-rw-r--r--coreutils/mv.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/coreutils/mv.c b/coreutils/mv.c
index c28d0500e..4f08dedc0 100644
--- a/coreutils/mv.c
+++ b/coreutils/mv.c
@@ -75,7 +75,7 @@ extern int mv_main(int argc, char **argv)
goto DO_MOVE;
}
}
-
+
do {
dest = concat_path_file(last, bb_get_last_path_component(*argv));
@@ -84,7 +84,7 @@ extern int mv_main(int argc, char **argv)
}
DO_MOVE:
-
+
if (dest_exists && !(flags & OPT_FILEUTILS_FORCE) &&
((access(dest, W_OK) < 0 && isatty(0)) ||
(flags & OPT_FILEUTILS_INTERACTIVE))) {
@@ -119,7 +119,7 @@ DO_MOVE:
bb_perror_msg("cannot remove `%s'", dest);
goto RET_1;
}
- }
+ }
if ((copy_file(*argv, dest,
FILEUTILS_RECUR | FILEUTILS_PRESERVE_STATUS) >= 0) &&
(remove_file(*argv, FILEUTILS_RECUR | FILEUTILS_FORCE) >= 0)) {
@@ -132,7 +132,7 @@ RET_1:
RET_0:
if (dest != last) {
free((void *) dest);
- }
+ }
} while (*++argv != last);
return (status);