diff options
author | Eric Andersen <andersen@codepoet.org> | 1999-10-09 04:25:00 +0400 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 1999-10-09 04:25:00 +0400 |
commit | f811e07b072600a3784a92e5a1dc8a93dac477eb (patch) | |
tree | 820c6366f8bdacf617a9591cc2ca9dfe107b1fa3 /coreutils/mv.c | |
parent | 8341a1565306a54e685455d19efb0516ad3328a1 (diff) |
More stuff.
Diffstat (limited to 'coreutils/mv.c')
-rw-r--r-- | coreutils/mv.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/coreutils/mv.c b/coreutils/mv.c index 610040d92..df56206a3 100644 --- a/coreutils/mv.c +++ b/coreutils/mv.c @@ -37,7 +37,7 @@ extern int mv_main (int argc, char **argv) const char *srcName; const char *destName; const char *lastArg; - BOOL dirFlag; + int dirFlag; if (argc < 3) { fprintf (stderr, "Usage: %s %s", *argv, mv_usage); @@ -63,7 +63,7 @@ extern int mv_main (int argc, char **argv) destName = lastArg; - if (dirFlag) + if (dirFlag==TRUE) destName = buildName (destName, srcName); if (rename (srcName, destName) >= 0) @@ -74,7 +74,7 @@ extern int mv_main (int argc, char **argv) continue; } - if (!copyFile (srcName, destName, TRUE)) + if (!copyFile (srcName, destName, TRUE, FALSE)) continue; if (unlink (srcName) < 0) |