Fix recurse() prototype and convert char to int flags

This commit is contained in:
sin
2015-02-16 16:23:12 +00:00
parent d8fa891008
commit 8f068589fb
11 changed files with 15 additions and 15 deletions

2
mv.c
View File

@@ -18,7 +18,7 @@ mv(const char *s1, const char *s2, char ff)
cp_aflag = cp_rflag = cp_pflag = 1;
rm_rflag = 1;
cp(s1, s2, ff);
rm(s1);
rm(s1, 0);
return (mv_status = cp_status || rm_status);
}
mv_status = 1;